Thursday, 4 October 2012

PowerShell - List Schema.xml




Add it in powershell as mentioned below

Add-PSSnapin Microsoft.Sharepoint.Powershell

$site = Get-SPSite -Identity http://globas:2012
$web = $site.OpenWeb()
$list = $web.Lists["UserData"]
$list.SchemaXML | Out-File e:\schema.xml


No comments:

Post a Comment