Like Us
Plus One
Follow Us
Search
 Author Tahir Naveed  Views 984 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 1246     
2017-May-25 SharePoint Online Page Load Time with JavaScript 919     
2016-Nov-02 Microsoft Graph vs Office Graph 1006     
2016-Oct-26 Office365 Subsite Logo Redirection 1108     
2016-Sep-14 PowerShell Script Analyzer 1112     
2016-Jun-12 SharePoint DSC 1215     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1355     
2016-Mar-03 SharePoint - Export/Import Subsite 1214     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 1225     
2015-Dec-04 SharePoint - Responsive Design (Framework) 1548