Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 582 Bytes

Get-PnPConnection.md

File metadata and controls

25 lines (18 loc) · 582 Bytes
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Get-PnPConnection

SYNOPSIS

Returns the current context

DESCRIPTION

Returns a PnP PowerShell Connection for use with the -Connection parameter on other cmdlets.

EXAMPLES

------------------EXAMPLE 1------------------

PS:> $ctx = Get-PnPConnection

This will put the current connection for use with the -Connection parameter on other cmdlets.

RELATED LINKS

SharePoint Developer Patterns and Practices