Get-CacheCount
Get-CacheCount
count cmdlet enables the user to get the total number of items
currently present in the Cache.
Get-CacheCount [-Name] [-Server] [-NoLogo] [-Password] [-UserId]
These properties are explained in detail in the Properties section.
Examples
- This command displays the total number of items currently present in the cache named demoCache keeping the rest of the settings as default.
Get-CacheCount –Name demoCache
- This command displays the total number of items currently present in the cache named demoCache for server 20.200.20.38, keeping the rest of the settings as default.
Get-CacheCount –Name demoCache -Server 20.200.20.38
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. | - |
-UserId (Enterprise edition only) |
<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. | - |
-Password (Enterprise edition only) |
<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. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |