Get-SPOStructuralNavigationCacheSiteState

Get the structural navigation caching state for a site collection.

Syntax

Get-SPOStructuralNavigationCacheSiteState
   -SiteUrl <String>
   [<CommonParameters>]

Description

The Get-SPOStructuralNavigationCacheSiteState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a site collection. Learn more.

Examples

Example 1

PS C:\> Get-SPOStructuralNavigationCacheSiteState -SiteUrl "https://contoso.sharepoint.com/sites/product/"

This example checks if structural navigation caching is enabled for the entire site collection https://contoso.sharepoint.com/sites/product/. If caching is enabled, then it will return True. If caching is disabled, then it will return False.

Parameters

-SiteUrl

Specifies the absolute URL for the site collection's root web being checked for its caching state.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Inputs

None

Outputs

System.Object

Notes

To see the examples, type: "get-help Get-SPOStructuralNavigationCacheSiteState -examples".

For more information, type: "get-help Get-SPOStructuralNavigationCacheSiteState -detailed". 

For technical information, type: "get-help Get-SPOStructuralNavigationCacheSiteState -full". 

For online help, type: "get-help Get-SPOStructuralNavigationCacheSiteState -online"