Set-SPOStructuralNavigationCacheWebState

Habilite o deshabilite el almacenamiento en caché de una web en una colección de sitios.

Syntax

Set-SPOStructuralNavigationCacheWebState
   -WebUrl <String>
   -IsEnabled <Boolean>
   [<CommonParameters>]

Description

El cmdlet Set-SPOStructuralNavigationCacheWebState se puede usar para habilitar o deshabilitar el almacenamiento en caché de una web en una colección de sitios. Más información.

Ejemplos

Ejemplo 1

PS C:\> Set-SPOStructuralNavigationCacheWebState -IsEnabled $true -WebUrl "https://contoso.sharepoint.com/sites/product/electronics"

En este ejemplo se habilita el almacenamiento en caché para la web https://contoso.sharepoint.com/sites/product/electronics.

Ejemplo 2

Set-SPOStructuralNavigationCacheWebState -IsEnabled $false -WebUrl "https://contoso.sharepoint.com/sites/product/electronics"

En este ejemplo se deshabilita el almacenamiento en caché para la web https://contoso.sharepoint.com/sites/product/electronics.

Parámetros

-IsEnabled

$true para habilitar el almacenamiento en caché; $false para deshabilitarlo.

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

-WebUrl

Especifica la dirección URL absoluta de la web que necesita que se establezca su estado de almacenamiento en caché.

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

Entradas

None

Salidas

System.Object

Notas

Para ver los ejemplos, escriba: "get-help Set-SPOStructuralNavigationCacheWebState -examples".

For more information, type: "get-help Set-SPOStructuralNavigationCacheWebState -detailed". 

For technical information, type: "get-help Set-SPOStructuralNavigationCacheWebState -full". 

For online help, type: "get-help Set-SPOStructuralNavigationCacheWebState -online"