Forum Discussion
Senthamil V
Mar 26, 2017Learn Expert
PowerShell CSOM script for SharePoint Online - Setting column default metadata
- Mikael SvensonSteel ContributorThis is also part of PnP cmdlets and core: https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/SetPnPDefaultColumnValues.md
list.SetDefaultColumnValues function. Dev branch support all field types, and will make it into next release.- Senthamil VLearn Expert
I did the raw CSOM with PS to execute PS without any additional installation. Sometime we are not allowed to install any new program in our laptop.
- Mikael SvensonSteel ContributorWell, in that case you should have a "spare" laptop you can use to manage SPO, as any laptop running Windows connected to the internet will do. And, PnP is just CSOM wrapped in functions so you don't have to script every single piece yourself.
You should put in a request to be allowed to use PnP posh imo, as not using it cost you money and time.