Restart-CacheCluster

Restart-CacheCluster

Restarts the Caching Service on all cache hosts in the cluster.

Syntax

Parameter Set: Default
Restart-CacheCluster [-HostTimeout <Int32> ] [-QuorumTimeout <Int32> ] [ <CommonParameters>]

Parameters

-HostTimeout<Int32>

The timeout value in seconds for the cache host to start. By default, this is 60 seconds.

Aliases

none

Required?

false

Position?

named

Default Value

60

Accept Pipeline Input?

false

Accept Wildcard Characters?

-QuorumTimeout<Int32>

The timeout, in seconds, for the majority of lead hosts to restart. The default value is 120 seconds. This is applicable only when lead hosts management is enabled.

Aliases

none

Required?

false

Position?

named

Default Value

120

Accept Pipeline Input?

false

Accept Wildcard Characters?

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Outputs

The output type is the type of the objects that the cmdlet emits.

  • List<Microsoft.Data.Caching.AdminApi.HostInfo>

Examples

Start-CacheCluster
Stop-CacheCluster