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: