Get-CacheCount - Monitor Cache Performance
This tool enables the user to get the total number of items currently present in the Cache to monitor cache performance accordingly.
Get-CacheCount [-Name] [-Server] [-NoLogo] [-Credentials]
Examples of Get-CacheCount - Monitor Cache Performance
- This command displays total number of items currently in the cache to monitor cache performance. This command reads the deployment details specified in the client.ncconf.
Get-CacheCount -Name demoCache
- This command displays total number of items currently in cache to monitor cache performance. This command ignores the deployment details specified in the client.ncconf.
Get-CacheCount -Name demoCache -Server "20.200.20.11,20.200.20.12"
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Name* |
<String> |
Specifies the name of the cache for which the item count is needed. | - |
-Server |
<String> |
Specifies one or more ip-address(es) for one or more cache-server(s). This option can be used to customize the list of ip-address(es) to be displayed. Note: Comma separated ip-addresses are to be specified in case of multiple servers inside double quotes. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |