Get-CacheHost
Lists all cache host services that are members of the cache cluster.
Parameter Set: HostParameters
Get-CacheHost [-HostName] <String> [-CachePort] <Int32> [ <CommonParameters>]
Provides the following information about each cache host service that is a member of the cache cluster:
HostName- Name of the host
CachePort- Port number used by the host
Service Name- Service name as displayed in the Services MMC snap-in
Service Status- Either UP if the service is running or DOWN if the service is not running
Version Info- Version of the cache host service that is installed
Note that the HostName and CachePort parameters allow you to only view the information of a specific cache host. If these parameters are not passed, then this command returns information for all cache hosts in the cluster.
The cache port number of the cache host. The default value for the cache port number is 22233.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
The name of the cache host. Localhost can be substituted for the name of the cache host when running this cmdlet on a local cache host.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
The output type is the type of the objects that the cmdlet emits.
- List<Microsoft.Data.Caching.AdminApi.HostInfo>