Link to home
Start Free TrialLog in
Avatar of QPR
QPRFlag for New Zealand

asked on

Add column to content type using PS

I'm looking for a script that will look through all existing libraries in a web application, find the ones that have a content type of document set and add a column to them.
Column name: pType
Column type: Single line of text
Column default value: doc

The libraries I am interested in were not created using the custom document library template but one that we created and template. So the script would need to look for this library type (if possible?)

Also, the document set in the libraries will have had their name changed from the default "document set"
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial