SharePoint: Get SPField details for SharePoint Lists using PowerShell

I have seen multiple posts on different forums to get details of list columns (like field type) for all SharePoint Lists or any specific list. I also uploaded script to Technet document gallery . This PowerShell script will show the fields defined in list Views. But with a little modification in code you can get …

Continue reading ‘SharePoint: Get SPField details for SharePoint Lists using PowerShell’ »

SharePoint: Get list of all users using PowerShell script

I was having a requirement to get list of all users which have permissions on a sharePoint site and also on any specific list using PowerShell script. You can download script file from Technet Gallery. Open Windows PowerShell Integrated Scripting Environment, and copy below script. [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) > $null $SiteCollectionURL = “http://sp2013:1111″ $site = new-object Microsoft.SharePoint.SPSite($SiteCollectionURL) $web …

Continue reading ‘SharePoint: Get list of all users using PowerShell script’ »