Get-CacheLogsList
Note
This feature is only available in NCache Enterprise and Professional Editions.
Get-CacheLogsList
cmdlet displays the file names, creation time and size for log files on a specific server and specific cache. If no cache is specified, all log files on the cache server are displayed. For Partitioned Replica topology, the logs of replica are also displayed.
Get-CacheLogsList [-CacheName] [-Server] [-Port] [-UserId] [-Password] [-NoLogo]
These properties are explained in detail in the Properties section.
Examples
- The following command displays the list of log files of the cache demoClusteredCache from the server 20.200.20.29.
Get-CacheLogsList -CacheName demoClusteredCache -Server 20.200.20.29
- The following command displays the list of all log files from the server 20.200.20.29.
Get-CacheLogsList -Server 20.200.20.29
Properties
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName |
<String> |
Specifies the name of the cache for the list of logs need to be displayed. | - |
-Server* |
<String> |
Specifies the server address where the log files are residing. | - |
-Port |
<Integer> |
Specifies the server port if the server channel is not using the default port. | 8250 |
-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 |