Get-CacheCount
Note
This feature is only available in NCache Enterprise and Professional editions.
Get-CacheCount
count cmdlet enables the user to get the total number of items
currently present in the Cache.
Get-CacheCount [-Name] [-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 and suppresses the display of the logo banners.
Get-CacheCount demoCache –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 |
---|---|---|---|
-Name* |
<String> |
Specifies the name of the Cache for which the item count is needed. | - |
-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. | - |
-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. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |