How to set Document Set property using Powershell in SharePoint?

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 Friday, August 28, 2015 11:35 AM
August 28th, 2015 11:33am

Thanks TenPart for your reply. Can you provide me a way to write PS script for getting/setting Welcome page columns?I am not getting any solution on net for setting welcome page columns. Thanks in advance.
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 12:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics