external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Returns the current context
Returns a PnP PowerShell Connection for use with the -Connection parameter on other cmdlets.
PS:> $ctx = Get-PnPConnection
This will put the current connection for use with the -Connection parameter on other cmdlets.