Get-CacheHostConfig

Get-CacheHostConfig

Returns the configuration details of the specified Cache Host.

Syntax

Parameter Set: HostParameters
Get-CacheHostConfig [-HostName] <String> [-CachePort] <Int32> [ <CommonParameters>]

Parameters

-CachePort<Int32>

Cache port number of the cache host. The default cache port is 22233.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-HostName<String>

The name of the cache host. Localhost can be substituted for the name of the cache host when running this cmdlet on the cache host computer.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<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.Commands.HostConfig

Examples

Get-CacheHost
Set-CacheHostConfig