Get Active sites from content database in PowerShell
$Sites = Get-SPSite -ContentDatabase -Limit All -Filter {$_.LockState -ne "NoAccess"}
$Sites | Export-CSV ".\sites.csv" -NoTypeInformation
Technical experience on SharePoint, M365, Azure, AngularJS, HTML5, jQuery, ASP.NET, C#, JavaScript, XML, SQL SERVER, REST API and various other programming concepts.
Comments
Post a Comment