Flash Accel 1.1 Installation and Administration Guide
:
Flash Accel PowerShell cmdlets
: Set Flash Accel cache device attributes cmdlet
Set Flash Accel cache device attributes cmdlet
The Set-FACache cmdlet sets the attributes of the cache device managed by
Flash Accel
.
Syntax
Set-FACache
[
-ComputerName
String
]
[
-Credential
PsCredential
]
[
-CacheAdminState
{
enabled
|
disabled
}
]
[
-CacheMode
{
PassThru
|
WriteAround
|
WriteThru
}
]
[
-CacheDeviceId
String
]
[
-PerfState
{
enabled
|
disabled
}
]
[
CommonParameters
]
Description
The Set-FaCache cmdlet sets the available attributes of the cache device managed by
Flash Accel
. To set attributes for the cache device 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.
-CacheAdminState
{
enabled
|
disabled
}
The global administrative state of the devices.
-CacheMode
{
PassThru
|
WriteAround
|
WriteThru
}
The global cache mode of the devices.
-CacheDeviceId
String
The NaaId of the cache device.
-PerfState
{
enabled
|
disabled
}
Global performance statistics gathering for the 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 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 -CacheAdminState enabled -CacheMode writethru
Parent Topic:
Flash Accel PowerShell cmdlets
Was this topic helpful? Send
comments
to NetApp.