Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 638 Bytes

Get-PnPContext.md

File metadata and controls

29 lines (20 loc) · 638 Bytes
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Get-PnPContext

SYNOPSIS

Returns the current context

DESCRIPTION

Returns a Client Side Object Model context

EXAMPLES

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

PS:> $ctx = Get-PnPContext

This will put the current context in the $ctx variable.

OUTPUTS

RELATED LINKS

SharePoint Developer Patterns and Practices