Share via


Stop-CacheHost

Stop-CacheHost

Stops the specified cache host service.

Syntax

Parameter Set: HostParameters
Stop-CacheHost [-HostName] <String> [-CachePort] <Int32> [[-HostTimeout] <Int32> ] [ <CommonParameters>]

Parameters

-CachePort<Int32>

The cache port number of the cache host.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-HostName<String>

The name of the cache host.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-HostTimeout<Int32>

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

Aliases

none

Required?

false

Position?

3

Default Value

60

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.

  • Microsoft.Data.Caching.AdminApi.HostInfo

Examples

Get-CacheHost
Restart-CacheHost
Start-CacheHost