Get-SPOContextSite

Retrieves the details for the currently connected Site Collection.

Get-SPOContextSite [-Detail [<SwitchParameter>]]

Parameters

1

ParameterRequiredTypeDescription
DetailFalseSwitchParameter

Retrieve additional details useful for examining a single object.

Detailed Description

Retrieves the details for the currently connected Site Collection.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

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

PS C:\> Get-SPOContextSite

This example retrieves the core details for the currently connected site.

------------------EXAMPLE 2-----------------------

PS C:\> Get-SPOContextSite -Detail

This example retrieves the core details along with additional information such as upgrade information, event receivers, owner, etc.