Table of Contents

Get-Caches

Get-Caches cmdlet enables the user to get the list of the total caches registered on the server along with their topology and status individually if they are running or not with process id.

Get-Caches [-Detail] [-NoLogo] [-Password] [-Port] [-Server] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command displays all the caches registered on the server.
Get-Caches
  • This command displays all the caches registered on the server node 20.200.21.11.
Get-Caches –Server 20.200.21.11
  • This command displays all the caches along with their details registered on the server node 20.200.21.11 with the display of logo banner suppressed.
Get-Caches –Detail –Server 20.200.21.11 -NoLogo

Properties

Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

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, Scheme, Status, Process ID, Cluster Size, Up Time, Capacity and Count. False
-UserId <String> Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials.
NOTE: This option is only available in Enterprise edition.
-
-Password <String> Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password.
NOTE: This option is only available in Enterprise edition.
-
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False