Author Posts

August 1, 2014 at 2:51 pm

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.
Thank you

August 1, 2014 at 2:59 pm

that might be, because it doesn't seem to exist

you could go gcm *partition* to see what is available matching the word partition.

a quick google search shows up clear-disk – is that closer to what you are after?

August 1, 2014 at 4:37 pm

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][/url]