I can not delete a partition with powershell 2.0.
I get the following error with the command:
Term 'remove-partition' is not recognized as the name of a cmdlet, function, operable program, or script file.
Remove-Partition is one of the many cmdlets that are only available in Windows 8 and later. It may be possible to do this with WMI (though I'd have to double check that; much of WMI is read-only), but you can definitely leverage the old DISKPART command-line utility, if nothing else. See [url]http://technet.microsoft.com/en-us/library/cc738489(v=ws.10).aspx[/url]