Set-SPOStructuralNavigationCacheSiteState

Habilitar o deshabilitar el almacenamiento en caché para todos los sitios web de una colección de sitios.

Syntax

Set-SPOStructuralNavigationCacheSiteState
   -SiteUrl <String>
   -IsEnabled <Boolean>
   [<CommonParameters>]

Description

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

Ejemplos

Ejemplo 1

PS C:\> Set-SPOStructuralNavigationCacheSiteState -IsEnabled $true -SiteUrl "https://contoso.sharepoint.com/sites/product/"

Este ejemplo permite el almacenamiento en caché para todos los sitios web de la colección de sitios https://contoso.sharepoint.com/sites/product/.

Ejemplo 2

PS C:\> Set-SPOStructuralNavigationCacheSiteState -IsEnabled $false -SiteUrl "https://contoso.sharepoint.com/sites/product/"

Este ejemplo deshabilita el almacenamiento en caché para todos los sitios web de la colección de sitios https://contoso.sharepoint.com/sites/product/.

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

-SiteUrl

Especifica la dirección URL absoluta de la web raíz de la colección de sitios que necesita establecer 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-SPOStructuralNavigationCacheSiteState -examples".

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

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

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