Get-SPOWeb

Retrieves one or more Sites within the current Site Collection.

Get-SPOWeb [-Identity [<SPOWebPipeBind>]] [-Detail [<SwitchParameter>]] [-IncludeAppWebs [<SwitchParameter>]]

Parameters

1

ParameterRequiredTypeDescription
IdentityFalseSPOWebPipeBind

Specifies the identity of the Site to retrieve.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.

DetailFalseSwitchParameter

Retrieve additional details useful for examining a single object.

IncludeAppWebsFalseSwitchParameter

When returning multiple items (-Identity is not provided), include app webs in the resultset.

Detailed Description

Retrieves a single Site given the server relative URL, GUID, or existing SPOWeb object. If a Site identifier is not provided then all Sites are provided.

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-SPOWeb -Detail

This example retrieves the core details along with additional information for all Sites within the current Site Collection.

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

PS C:\> Get-SPOWeb "/childsite"

This example retrieves the core details for the childsite sub-site of the current Site Collection.

------------------EXAMPLE 3-----------------------

PS C:\> Get-SPOWeb "/" -Detail

This example retrieves the core details along with additional information for the root site of the current Site Collection.