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.
- 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 188.8.131.52, keeping the rest of the settings as default.
Get-CacheCount –Name demoCache -Server 184.108.40.206
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 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.||-|
||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|