Flash Accel PowerShell cmdlets : Set Flash Accel configuration options

Set Flash Accel configuration options
The Set-FAOptions cmdlet sets the available options to configure Flash Accel.
Syntax
Set-FAOptions

[
-ComputerName String]
[
-Credential PsCredential]
[
-DefaultDeviceState {enabled | disabled}]
[
-DefaultDeviceCacheMode {PassThru | WriteAround | WriteThru}]
[
-EventLogLevel {Fatal | Failure | Error | Warning | Informational | Debug}]
[
-ChecksumEnabled {enabled | disabled}]
[
-MetricsResetInterval UInt32]
[
-GenIdInterval UInt32]
[
-IoTimeout UInt32]
[
-IoRetryInterval UInt32]
[
-IoRetryCount UInt32]
[
-MinReadSize UInt32]
[
-MaxReadSize UInt32]
[
-MinWriteSize UInt32]
[
-MaxWriteSize UInt32]
[
-WriteQLimit UInt32]
[
-BlockUsageThreshold UInt32]
[
-ChunkMinBlockThreshold UInt32]
[
-ChunkMaxBlockThreshold UInt32]
[
CommonParameters]
Description
The Set-FAOptions cmdlet sets the available options to configure Flash Accel. To set attributes for devices on a remote computer, use the ComputerName parameter. The command uses WMI to gather data remotely and locally.
Parameters
-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.
-DefaultDeviceState {enabled | disabled}
The default administrative state of caching for newly enumerated devices. The default is "disabled".
-DefaultDeviceCacheMode {PassThru | WriteAround | WriteThru}
The default Cache mode for newly enumerated devices. The default is "WriteThru".
-EventLogLevel {Fatal | Failure | Error | Warning | Informational | Debug}
Verbosity of Windows event logging. The default is "Informational".
-ChecksumEnabled {enabled | disabled}
Checksum calculation for cache data block. The default is "enabled".
-MetricsResetInterval UInt32
The interval (in seconds) to reset device metrics. The default is 60 seconds. For more information, see "Performance metrics reported by the PowerShell cmdlets."
-GenIdInterval UInt32
The interval (in seconds) to store cache checkpoint metadata. The default is 15 seconds.
-IoTimeout UInt32
The timeout (in seconds) for cache I/O requests. The default is 5 seconds.
-IoRetryInterval UInt32
The retry interval (in ms) for all I/O requests. The default is 1,000 ms.
-IoRetryCount UInt32
The retry count for I/O requests. This applies to both cache and backing store devices. The default is 3.
-MinReadSize UInt32
The minimum read size (in bytes) to cache. The default is 512 bytes. MinReadSize must be less than or equal to MaxReadSize, greater than 0, and less than 1MB.
-MaxReadSize UInt32
The maximum read size (in bytes) to cache. The default is 65,536 bytes. MaxReadSize must be greater than or equal to MinReadSize and less than 1 MB.
-MinWriteSize UInt32
The minimum write size (in bytes) to cache. The default is 8,192 bytes. MinWriteSize must be greater than or equal to BlockSize, in some multiple of BlockSize (8,192, 16,384, and so on).
-MaxWriteSize UInt32
The maximum write size (in bytes) to cache. The default is 65,536 bytes. MaxWriteSize must be less than or equal to 1 MB, in some multiple of BlockSize (8,192, 16,384, and so on).
-WriteQLimit UInt32
Soft limit on cache write queue size. The default is 1,024.
-BlockUsageThreshold UInt32
Number of hits for considering cache blocks for non-eviction. The default is 1.
-ChunkMinBlockThreshold UInt32
Minimum non-eviction cache blocks in a chunk for it to be read; otherwise the entire chunk is evicted. The default is 64.
-ChunkMaxBlockThreshold UInt32
Maximum non-eviction cache blocks in a chunk for it to be skipped. All blocks are preserved. The default is 64.
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 12. Example: Set default device state and mode
The following cmdlet sets the DefaultDeviceState to enabled and the DefaultDeviceCacheMode to PassThru on the local computer:
Set-FaOptions -DefaultDeviceState enabled -DefaultDeviceCacheMode passthru
Parent Topic: Flash Accel PowerShell cmdlets