external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Returns the current site collection from the context.
Get-PnPSite [-Includes <String[]>]
[-Connection <SPOnlineConnection>]
PS:> Get-PnPSite
Gets the current site
Specify properties to include when retrieving objects from the server.
Type: String[]
Parameter Sets:
Required: False
Position: 0
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False