Flash Accel PowerShell cmdlets : Get Flash Accel cache attributes

Get Flash Accel cache attributes
The Get-FACache cmdlet gets the attributes of the cache managed by Flash Accel.
Syntax
Get-FACache

[
-Metrics [SwitchParameter]]
[
-FormatInfo [SwitchParameter]]
[
-Detailed [SwitchParameter]]
[
-ComputerName String]
[
-Credential PsCredential]
[
CommonParameters]
Description
The Get-FACache cmdlet gets the attributes of the cache managed by Flash Accel. Only one qualifier [-Metrics |-Detailed|-FormatInfo] is permitted. To get information for a remote computer, use the ComputerName parameter. The command uses WMI to gather data remotely and locally.
Parameters
-Metrics [SwitchParameter]
Displays performance metrics for the cache.
-FormatInfo [SwitchParameter]
Displays the information specified for the cache format.
-Detailed [SwitchParameter]
Displays all available attributes of the cache, including performance metrics.
-ComputerName String
Specifies a remote Windows computer on which you want to run the command. If you do not use this parameter, the command runs on the local computer. The value can be a fully qualified domain name or an IP address. When the remote computer is in a different domain from the local computer, you must use a fully qualified domain name.
-Credential PsCredential
Specifies a user account that you want to use to run this command. An administrative-level user account is required. If you do not use this parameter, the command runs under the user account with which you are currently logged in. Enter a user name, such as "User01", "Domain01\User01", or "User@example.com". You can also enter a PSCredential object, such as an object that is returned by the Get-Credential cmdlet. When you enter a user name, you are prompted for a password.
This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, enter:
get-help about_commonparameters
Example 4. Example: Get basic cache attributes
The following example gets basic cache information from the local computer.
C:\PS>Get-FACache
BuildVersion : 1.3.0.22652569
CacheDeviceId : 00f384d7e1db3fb219e0fd0f01570003
CacheDeviceNaaId : 60030057010ffde019b23fdbe1d784f3
CacheDeviceSN : 00f384d7e1db3fb219e0fd0f01570003
AdminState : Enabled
OperationalState : Normal
OperStateMessage : WriteThru mode
CacheMode : WriteThru
PerfState : Enabled
Sectors : 779223039
SectorSize : 512
CurrentGenId : 0
Example 5. Example: Get detailed attributes from a remote computer
The following example gets the detailed attributes of the cache managed by Flash Accel on computer "server01". Because no credentials are supplied, the current user account is used to log in.
C:\PS>Get-FACache -Detailed -ComputerName server01

BuildVersion : 1.3.0.22652569
CacheDeviceId : 00f384d7e1db3fb219e0fd0f01570003
CacheDeviceNaaId : 60030057010ffde019b23fdbe1d784f3
CacheDeviceSN : 00f384d7e1db3fb219e0fd0f01570003
AdminState : Enabled
OperationalState : Normal
OperStateMessage : WriteThru mode
CacheMode : WriteThru
PerfState : Enabled
Sectors : 779223039
SectorSize : 512
CurrentGenId : 0

ReplacementPolicy : 1
BlockSize : 8192
BlocksPerChunk : 64
Chunks : 760959
FormattedChunks : 0
UsableBlocks : 47940417
MaxDevices : 1016

HitLatencyAvg : 0
HitLatencyMin : 0
HitLatencyMax : 0
ChunkReadCount : 0
ChunkOverwriteCount : 0
ChunkSkipCount : 0
FullFlushLatencyAvg : 0
FullFlushLatencyMin : 0
FullFlushLatencyMax : 0
FullFlushCount : 0
PartialFlushLatencyAvg : 0
PartialFlushLatencyMin : 0
PartialFlushLatencyMax : 0
PartialFlushCount : 0
FailedCacheReadOps : 0
FailedFullFlushes : 0
FailedPartialFlushes : 0
WriteQDepth : 0
WriteQDepthAvg : 0
WriteQDepthMax : 0
LogScanSecs : 0

Parent Topic: Flash Accel PowerShell cmdlets