header image

Formatting disks – – the new way

Posted by: | July 14, 2014 | No Comment |

Last time I showed how to format disks using the Win32_Volume CIM class. If you need to perform this activity on a Windows Server 2012/Windows 8 or later system you can use a couple of cmdlets from the Storage module

Get-Volume | where DriveLetter -ne ‘C’ | Format-Volume -FileSystem NTFS -Confirm:$false –WhatIf

 

If you’ve not looked at the Storage module before there is a lot of useful cmdlets.

under: Windows 2012 R2, Windows 8, Windows 8.1, Windows Server 2012