Dear All,
I created content type in list1 via PS. Now, I am wondering how to set document set properties like setting Welcome page columns & Shared columns using powershell script. In below PS, I got the content type object but wondering how to get Document set object out of it.
$SiteURL = "http://sitecollection Site URL" $web = Get-SPWeb $SiteURL $list = $web.Lists["Documents"] $contenttype = $list.ContentTypes["ContentType1"] $xmldocs = $contenttype.XmlDocuments Write-Host $xmldocs # I am getting no error and getting C:\ prompt after running the script. Please advice.
- Edited by Birju123 20 hours 7 minutes ago