Skip to content

Instantly share code, notes, and snippets.

@rheid
Created August 8, 2014 15:17
Show Gist options
  • Save rheid/af9d19d97ce8aea275a7 to your computer and use it in GitHub Desktop.
Save rheid/af9d19d97ce8aea275a7 to your computer and use it in GitHub Desktop.
Read SharePoint Fields with PowerShell
$web = Get-SPWeb http://sharepoint/sites/training/salestraining
$list = $web.Lists["Announcements"]
$list.fields | select Title, InternalName, StaticName | sort title | ft -AutoSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment