Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docset/winserver2012-ps/storage/Format-Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,26 @@ To create a new volume, use this cmdlet in conjunction with the Initialize-Disk
## EXAMPLES

### Example 1: Quick format
```
```powershell
PS C:\>Format-Volume -DriveLetter D
```

This example performs a format of the D volume.

### Example 2: Full format using FAT32
```
```powershell
PS C:\>Format-Volume -DriveLetter D -FileSystem FAT32 -Full -Force
```

This example performs a full format of the D volume using the FAT32 file system.

### Example 3: Full format using NTFS and allocation size 8192
```powershell
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
```

This example performs a full format of the D volume using the NTFS file system and allocation size 8192.

## PARAMETERS

### -AllocationUnitSize
Expand Down
11 changes: 9 additions & 2 deletions docset/winserver2012r2-ps/storage/Format-Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,26 @@ To create a new volume, use this cmdlet in conjunction with the Initialize-Disk
## EXAMPLES

### Example 1: Quick format
```
```powershell
PS C:\>Format-Volume -DriveLetter D
```

This example performs a format of the D volume.

### Example 2: Full format using FAT32
```
```powershell
PS C:\>Format-Volume -DriveLetter D -FileSystem FAT32 -Full -Force
```

This example performs a full format of the D volume using the FAT32 file system.

### Example 3: Full format using NTFS and allocation size 8192
```powershell
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
```

This example performs a full format of the D volume using the NTFS file system and allocation size 8192.

## PARAMETERS

### -AllocationUnitSize
Expand Down
7 changes: 7 additions & 0 deletions docset/winserver2016-ps/storage/Format-Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ D NTFS Fixed Healthy OK

Be careful, if using this cmdlet on a Windows Cluster, it would format all drives returned by the **Get-Volume** cmdlet.

### Example 4: Full format using NTFS and allocation size 8192
```powershell
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
```

This example performs a full format of the D volume using the NTFS file system and allocation size 8192.

## PARAMETERS

### -AllocationUnitSize
Expand Down
7 changes: 7 additions & 0 deletions docset/winserver2019-ps/storage/Format-Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ D NTFS Fixed Healthy OK

Be careful, if using this cmdlet on a Windows Cluster, it would format all drives returned by the **Get-Volume** cmdlet.

### Example 4: Full format using NTFS and allocation size 8192
```powershell
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
```

This example performs a full format of the D volume using the NTFS file system and allocation size 8192.

## PARAMETERS

### -AllocationUnitSize
Expand Down
7 changes: 7 additions & 0 deletions docset/winserver2022-ps/storage/Format-Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ D NTFS Fixed Healthy OK

Be careful, if using this cmdlet on a Windows Cluster, it would format all drives returned by the **Get-Volume** cmdlet.

### Example 4: Full format using NTFS and allocation size 8192
```powershell
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
```

This example performs a full format of the D volume using the NTFS file system and allocation size 8192.

## PARAMETERS

### -AllocationUnitSize
Expand Down