Flash Accel PowerShell cmdlets : Set Flash Accel cache attributes

Set Flash Accel cache attributes
The Set-FACache cmdlet sets the attributes of the cache managed by Flash Accel.
Syntax
Set-FACache

[
-ComputerName String]
[
-Credential PsCredential]
[
-AdminState {enabled | disabled}]
[
-CacheMode {PassThru | WriteAround | WriteThru}]
[
-CacheDeviceId String]
[
-PerfState {enabled | disabled}]
[
CommonParameters]
Description
The Set-FACache cmdlet sets the available attributes of the cache managed by Flash Accel. To set attributes for the cache 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.
-AdminState {enabled | disabled}
The global administrative state of the cache. The default is "disabled".
-CacheMode {PassThru | WriteAround | WriteThru}
The global cache mode. The default is "WriteThru".
-CacheDeviceId String
The serial number or NaaID of the cache device.
-PerfState {enabled | disabled}
Global performance statistics collection for the cache. The default is "enabled".
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 10. Example: Enable cache and set mode to WriteThru
The following cmdlet sets the global cache administrative state to enabled and the global cache mode to WriteThru:
Set-FACache -AdminState enabled -CacheMode writethru
Parent Topic: Flash Accel PowerShell cmdlets