Get List of Registered Caches
Get-Caches
displays a list of the total caches registered on the server along with their topology and status
(running or stopped) and process ID.
Get-Caches [-Detail] [-NoLogo] [-Port] [-Server]
The parameters along with their descriptions are explained below.
Examples
- This command displays all the caches registered on the local server.
Get-Caches
The following information gets displayed on running the command.
- This command displays all the caches registered on the server node 20.200.20.30.
Get-Caches –Server 20.200.20.30
- This command displays all registered caches on the server node 20.200.20.30 and respective nodes of the cache cluster along with additional information like running status, up time and capacity.
Get-Caches –Detail –Server 20.200.20.30
The following information gets displayed on running the command.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Server |
<String> |
Specifies the server node for which the user wants to get the list of caches registered. | - |
-Port |
<Integer> |
Specifies the server port if the server channel is not using the default port. | 8250 |
-Detail |
<SwitchParameter> |
Displays a comparatively detailed information about the caches registered on the server. This information includes Cache Name, Topology, Status, Process ID, Cluster Size, Up Time, Capacity and Count. | False |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
See Also
Set up PowerShell Environment
Start-Cache
Get-NCacheVersion
TroubleShooting