alejandro-g
5/22/2017 - 8:49 PM

Get list of sharepoint list fields

Get list of sharepoint list fields

$web = Get-SPWeb "http://yoursite:port"            
$list = $web.GetList("http://yoursite:port/lists/listname");            
$list.Fields | sort StaticName,Type | ?{$_\3.CanBeDeleted -eq $true -and $_\3.Hidden -eq $false} | FT Title,StaticName,Type