diff --git a/docset/winserver2012-ps/storage/Format-Volume.md b/docset/winserver2012-ps/storage/Format-Volume.md index a79b6e6710..71fbf39c53 100644 --- a/docset/winserver2012-ps/storage/Format-Volume.md +++ b/docset/winserver2012-ps/storage/Format-Volume.md @@ -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 diff --git a/docset/winserver2012r2-ps/storage/Format-Volume.md b/docset/winserver2012r2-ps/storage/Format-Volume.md index aebd09c724..41dca6b627 100644 --- a/docset/winserver2012r2-ps/storage/Format-Volume.md +++ b/docset/winserver2012r2-ps/storage/Format-Volume.md @@ -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 diff --git a/docset/winserver2016-ps/storage/Format-Volume.md b/docset/winserver2016-ps/storage/Format-Volume.md index 4cab23d9b8..1be21bc093 100644 --- a/docset/winserver2016-ps/storage/Format-Volume.md +++ b/docset/winserver2016-ps/storage/Format-Volume.md @@ -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 diff --git a/docset/winserver2019-ps/storage/Format-Volume.md b/docset/winserver2019-ps/storage/Format-Volume.md index 225bd86f08..ae1543681a 100644 --- a/docset/winserver2019-ps/storage/Format-Volume.md +++ b/docset/winserver2019-ps/storage/Format-Volume.md @@ -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 diff --git a/docset/winserver2022-ps/storage/Format-Volume.md b/docset/winserver2022-ps/storage/Format-Volume.md index c28d0f841b..c388637aa4 100644 --- a/docset/winserver2022-ps/storage/Format-Volume.md +++ b/docset/winserver2022-ps/storage/Format-Volume.md @@ -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