Flash Accel PowerShell cmdlets : Format Flash Accel cache

Format Flash Accel cache
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. 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.
-ReplacementPolicy UInt64
Cache block replacement policy. The default is 1.
-BlockSize UInt32
Cache block size in bytes. The default is 8 KB. The chunk size (BlockSize × BlocksPerChunk) must be less than or equal to 1 MB. Ideally, the chunk size should be equal to the erase block size of the flash device.
-BlocksPerChunk UInt32
Cache blocks per chunk (including overhead). The default is 64. The chunk size (BlockSize × BlocksPerChunk) must be less than or equal to 1 MB. Ideally, the chunk size should be equal to the erase block size of the flash device.
-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, enter:
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