Like Us
Plus One
Follow Us
Search
 Author Tahir Naveed  Views 722 View Original Article

Scenario:One of my colleague wanted to activate the Content Approval on a couple of lists and libraries within a site and we know that going to the settings of 25 libraries for the same setting is easy but a pain.Solution:This can be done through Powershell. Add-PSSnapin "Microsoft.SharePoint.PowerShell"$siteUrl="http://www.SharePointBlue.com"$lists = @("Documents","New Documents","ListA")$site=Get-SPSite $siteUrl$web=$site.RootWebForEach ($listName in $lists) { try { $list=$web.Lis…
View Original Article

Recent Articles from SharePoint Blue

Date Articles Visits
2017-Jun-12 Microsoft Flow - HTTP REST Call 915     
2017-May-25 SharePoint Online Page Load Time with JavaScript 620     
2016-Nov-02 Microsoft Graph vs Office Graph 687     
2016-Oct-26 Office365 Subsite Logo Redirection 746     
2016-Sep-14 PowerShell Script Analyzer 802     
2016-Jun-12 SharePoint DSC 896     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1028     
2016-Mar-03 SharePoint - Export/Import Subsite 911     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 949     
2015-Dec-04 SharePoint - Responsive Design (Framework) 1234