powershellscript

Get list of all users present in a site under different SharePoint Groups

All users having access to SharePoint site and belongs to which SharePoint group. Powershell script to get list of users group wise.

IIS Reset on all SP Servers using PowerShell

This script will list all SP Servers and restarts IIS on all of them. add-PSSnapin microsoft.sharepoint.powershell $spserver = get-spserver | ?{$_.role -eq “Application”} foreach ($server in $spserver) { write-host “Performing IIS Reset on Server:”$server.name iisreset $server.Name }

SharePoint 2013 Site Template ID List for PowerShell

Below table, you can find SharePoint 2013 Site Template ID list, for reference.Template IDTitleGLOBAL#0Global templateSTS#0Team SiteSTS#1Blank SiteSTS#2Document WorkspaceMPS#0Basic Meeting WorkspaceMPS#1Blank Meeting WorkspaceMPS#2Decision Meeting WorkspaceMPS#3Social Meeting WorkspaceMPS#4Multipage Meeting WorkspaceCENTRALADMIN#0Central Admin SiteWIKI#0Wiki SiteBLOG#0BlogSGS#0Group Work SiteTENANTADMIN#0Tenant Admin SiteAPP#0App TemplateAPPCATALOG#0App Catalog SiteACCSRV#0Access Services SiteACCSRV#1Assets… Read More ›