Category: PowerShell
-
+
+
+
+
+
+
Wanted to provide a very helpful PowerShell snippet that I have used on multiple SharePoint farms to pull a list of users and their properties that can be exported out to a CSV file. Simply update the snippet with your site collection URL and file path/name and you’ll be good…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
Need to deliver or better understand the AD groups associated with your SharePoint site collection? Try this: [sourcecode] $SPWebApp = Get-SPWebApplication http://sitecollectionURLhere/ foreach ($SPSite in $SPWebApp.Sites) { write-host -foregroundcolor green "Working on Site Collection: " + $SPsite.RootWeb.Title $SiteURL = $SPsite.RootWeb.URL $ADgroup=Get-SPUser -Web $SiteURL -Limit ALL | Where { $_.IsDomainGroup }…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+