NetApp

Set Flash Accel data device attributes
The Set-FADevice cmdlet sets the attributes of the data devices managed by Flash Accel.
Syntax
Set-FADevice

[
-ComputerName String]
[
-Credential PsCredential]
[
-Disks String []]
[
-NaaIds String []]
[
-DeviceAdminState {enabled | disabled}]
[
-DeviceMode {PassThru | WriteAround | WriteThru}]
[
-PerfState {enabled | disabled}]
[
CommonParameters]
Description
The Set-FADevice cmdlet sets the available attributes of the data devices managed by 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. Type 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 type a user name, you are prompted for a password.
-Disks String []
List of data disks for which attributes need to be set, such as "disk0,disk1". If the Disks or the NaaIds parameter is not specified, the operation is performed on all devices.
-NaaIds String []
List of NaaIds of the data disks for which attributes need to be set, such as "6000c2a4caae4b29aa930b1e41708d69". If the Disks or the NaaIds parameter is not specified, the operation is performed on all devices.
-DeviceAdminState {enabled | disabled}
The administrative state of the data devices.
-DeviceMode {PassThru | WriteAround | WriteThru}
The cache mode of the data devices.
-PerfState {enabled | disabled}
Performance statistics gathering for the data devices.
This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type:
get-help about_commonparameters
Example 11. Example: Enable data devices and set mode to WriteThru
The following cmdlet sets the device administrative state to enabled and the device cache mode to WriteThru for disks disk0 and disk1 on the local computer:
Set-FADevice -Disks disk0,disk1 -DeviceAdminState enabled -DeviceCacheMode writethru
Parent Topic: Flash Accel PowerShell cmdlets


Was this topic helpful? Send comments to NetApp.