Friday, May 29, 2015

Get Active sites from content database in PowerShell

Get Active sites from content database in PowerShell

$Sites = Get-SPSite -ContentDatabase -Limit All -Filter {$_.LockState -ne "NoAccess"}
$Sites | Export-CSV ".\sites.csv" -NoTypeInformation

Populate people picker field with logged in user in SharePoint using JS

Please use below code to populate people picker in SharePoint online, <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....