Forum Discussion
Alex Gonsales
Oct 30, 2017Brass Contributor
Expand and document functionality for Add-PnPField and Add-PnPTaxonomyField
There is zero documentation and examples for -FieldOptions for both Add-PnPField and Add-PnPTaxonomyField. I'm trying to use both cmdlets above to add Site Columns to my webs, right now I can't s...
Chad_V_Kealey
Feb 20, 2018Iron Contributor
Going through a similar exercise myself, I'm finding that Add-PnPFieldFromXML provides much more control over the field properties. The downside is that it requires you to generate the XML file, which is nearly as tedious as using the GUI. Still, it's possible. See https://msdn.microsoft.com/en-us/library/office/ms437580(v=office.15).aspx for a list of field properties that can be included in the XML.