Skip to main content
Version: Archive

Dx-FormatVolume

Applies to:

  • DxPS 15.0

Summary

Update to Dx-FormatVolume command.

Syntax

Dx-FormatVolume [-VolID] <string> [-FileSystem <string>] [-VolumeLabel <string>] [-BlockSize <int>] [-QuickFormat <bool>] [-Compression <bool>] [<commonparameters>]

Detailed Description

This cmdlet administratively formats the selected volume. Applicable to DxEnterprise product only.

Parameters

NameTypeDescriptionRequiredCommand-line Input
VolIDStringID of the selected volume.TrueTrue
FileSystemStringFilesystem type. Valid value is NTFS.TrueFalse
VolumeLabelStringName of the volume.TrueFalse
BlockSizeIntBlocksize of the volume. Valid values are 512, 1024, 4096, 8192, 16384, 32768 or 65536.TrueFalse
QuickFormatBoolWhether or not to perform quick format. Quick format does not zero data.TrueFalse
CompressionBoolEnable compression support for the volume or not.FalseFalse

Example

Dx-FormatVolume -VolID "b6d8cd20-7783-4827-b6b8-481d02ceb5f2" -FileSystem "NTFS" -VolumeLabel "Volume1" -BlockSize 4096 -QuickFormat $true -Compression $false