In my previous post, showed how to add custom user action through PowerShell CSOM. I have re-written the same script in a new school method using the OfficeDev/PnP-PowerShell cmdlets. As a pre-requisite make sure to install the cmdlets through the binaries available in the GitHub repository. For On-Premises install v15 version and v16 version for Office 365. Post installing, use the below snippet in PowerShell window.
Happy coding! Peace!!
Happy coding! Peace!!
Comments
Post a Comment