Get-AFCacheHostStatus
Get-AFCacheHostStatus
Lists all cache host services that are members of the cache cluster.
Syntax
Parameter Set: HostParameters
Get-AFCacheHostStatus [-ComputerName] <String> [-CachePort] <Int32> [ <CommonParameters>]
Detailed Description
Provides the following information about each cache host service that is a member of the cache cluster:
ComputerName- 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- Up, Down, Starting, Stopping, or Shutting Down (if the cache host is shutting down gracefully).
Version Info- Version of the cache host service that is installed
Note that the ComputerName 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.
Parameters
-CachePort<Int32>
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? |
false |
-ComputerName<String>
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? |
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.
- List<Microsoft.Data.Caching.AdminApi.HostInfo>
Examples
PS C:\>