NetApp

Format Flash Accel cache cmdlet
The Format-FACache cmdlet formats the cache device managed by Flash Accel.
Syntax
Format-FACache

[
-ComputerName String]
[
-Credential PsCredential]
[
-ReplacementPolicy UInt64]
[
-BlockSize UInt32]
[
-BlocksPerChunk UInt32]
[
-SizeLimitGb UInt32]
[
-Async SwitchParameter]
[
CommonParameters]
Description
The Format-FACache cmdlet formats the cache device managed by Flash Accel. To format the cache device for a remote computer, use the ComputerName parameter. This cmdlet uses WMI to set data remotely and locally.
Note: Formatting the cache destroys the existing cache contents.
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.
-ReplacementPolicy UInt64
Cache block replacement policy. The default value is 1.
-BlockSize UInt32
Cache block size in bytes. The default value is 4096 bytes.
-BlocksPerChunk UInt32
Cache blocks per chunk (including overhead). The default value is 128.
-SizeLimitGb UInt32
Cache size limit in GB. If omitted, the entire device is formatted.
-Async SwitchParameter
Specifies whether to perform the format asynchronously. The default is false.
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 3. Example: Format the cache with default values
The following cmdlet formats the cache on the local computer using the default values.
Note: Formatting the cache destroys the existing cache contents.
Format-FACache
Parent Topic: Flash Accel PowerShell cmdlets


Was this topic helpful? Send comments to NetApp.