PowerShell Logo Small

Initialize-Volume



This is the built-in help made by Microsoft for the command 'Initialize-Volume', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Formats one or more existing volumes or a new volume on an existing partition.

SYNTAX


Format-Volume [-DriveLetter] <Char[]> [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>]
[-Force] [-Full] [-NewFileSystemLabel <String>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] [-Confirm]
[-WhatIf] [<CommonParameters>]
Format-Volume [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>] [-Force] [-Full] [-NewFi
leSystemLabel <String>] [-Partition <CimInstance>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] [-Confir
m] [-WhatIf] [<CommonParameters>]
Format-Volume [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>] [-Force] [-Full] [-NewFi
leSystemLabel <String>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] -FileSystemLabel <String[]> [-Confi
rm] [-WhatIf] [<CommonParameters>]
Format-Volume [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>] [-Force] [-Full] [-NewFi
leSystemLabel <String>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] -InputObject <CimInstance[]> [-Conf
irm] [-WhatIf] [<CommonParameters>]
Format-Volume [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>] [-Force] [-Full] [-NewFi
leSystemLabel <String>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] -Path <String[]> [-Confirm] [-WhatI
f] [<CommonParameters>]
Format-Volume [-AllocationUnitSize <UInt32>] [-AsJob] [-CimSession <CimSession[]>] [-Compress] [-DisableHeatGathering] [-FileSystem <String>] [-Force] [-Full] [-NewFi
leSystemLabel <String>] [-SetIntegrityStreams <Boolean>] [-ShortFileNameSupport <Boolean>] [-ThrottleLimit <Int32>] [-UseLargeFRS] -ObjectId <String[]> [-Confirm] [-W
hatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Format-Volume cmdlet formats one or more existing volumes, or a new volume on an existing partition. This cmdlet returns the object representing the volume that w
as just formatted, with all properties updated to reflect the format operation.


To create a new volume, use this cmdlet in conjunction with the Initialize-Disk and New-Partition cmdlets.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294431
Get-Disk
Initialize-Disk
New-Partition
Get-Partition
Get-Volume
Optimize-Volume
Repair-Volume
Set-Volume

REMARKS

<

Examples


Example 1: Quick format

PS C:\>Format-Volume -DriveLetter D



This example performs a format of the D volume.




Example 2: Full format using FAT32

PS C:\>Format-Volume -DriveLetter C -FileSystem FAT32 -FullFormat –Force



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