Get-SPOStructuralNavigationCacheWebState
Get the structural navigation caching state for a web.
Syntax
Default (Default)
Get-SPOStructuralNavigationCacheWebState
-WebUrl <String>
[<CommonParameters>]
Description
The Get-SPOStructuralNavigationCacheWebState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a web in a site collection. Learn more.
Examples
Example 1
PS C:\> Get-SPOStructuralNavigationCacheWebState -weburl "https://contoso.sharepoint.com/sites/product/electronics"
This example checks if structural navigation caching is enabled for the web https://contoso.sharepoint.com/sites/product/electronics
. If caching is enabled, then it will return True. If caching is disabled, then it will return False.
Parameters
-WebUrl
Applicable: SharePoint Online Specifies the absolute URL for the web being checked for its caching state.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Notes
To see the examples, type: "get-help Get-SPOStructuralNavigationCacheWebState -examples".
For more information, type: "get-help Get-SPOStructuralNavigationCacheWebState -detailed".
For technical information, type: "get-help Get-SPOStructuralNavigationCacheWebState -full".
For online help, type: "get-help Get-SPOStructuralNavigationCacheWebState -online"