PowerShell CSOM script for SharePoint Online - Setting column default metadata

3 Replies
This 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.

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. 

Well, 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.