Get-CacheStatistics

Get-CacheStatistics

Returns statistics for a Cache or for a Cache Host.

Syntax

Parameter Set: CacheStatistics
Get-CacheStatistics [-CacheName] <String> [ <CommonParameters>]

Parameters

-CacheName<String>

The name of the cache.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-CachePort<Int32>

The cache port number of the cache host.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-HostName<String>

The name of the cache host.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Data.Caching.NamedCacheStats
  • Microsoft.Data.Caching.HostCacheStats

Examples

Get-Cache
Get-CacheHost