This feature is only available in NCache Enterprise edition.
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.
- 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
Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
|Parameters||Data Types||Description||Default Value|
||Specifies the name of the Cache for which the item count is needed.||-|
||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.||-|
||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.||-|
||Suppresses display of the logo banner.||False|