i want to connect to a SharePoint 2013 site having form based authentication using powershell CSOM. With VS i can connect with X-FORMS_BASED_AUTH_ACCEPTED header. What alternative i have to use so that i can connect with powershell CSOM as well. Please help
In PowerShell, normally you could add an event handler to a .NET object using the Register-ObjectEvent command.
More information is in this article:
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.