Skip to content

Instantly share code, notes, and snippets.

@nlarkin
Created March 12, 2013 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nlarkin/5144187 to your computer and use it in GitHub Desktop.
Save nlarkin/5144187 to your computer and use it in GitHub Desktop.
Quick Powershell Script that will get available fields within a Sharepoint list.
#Enter web url
$web = Get-SPWeb "http://sharepointsite.com/"
#Enter Name of the list
$list = $web.Lists["Documents"]
$list.Fields | Select Title, InternalName | sort InternalName | out-file C:\internalfields.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment