Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell can't reset disk

$
0
0

I was recommended to post this Powershell question here:  https://social.technet.microsoft.com/Forums/windowsserver/en-US/fc79faab-24ab-43a0-b8d4-08ebdff7cae6/powershell-cant-reset-disk?forum=winserverfiles

I need a PowerShell command to do exactly the same thing as clicking Reset on a formatted partition in the Storage Spaces UI. These commands don't work:

Reset-PhysicalDisk physicaldisk1 --> has no effect!

Initialize-Disk 1 -PartitionStyle Unknown  --> error "the disk is already initialized"

Remove-Partition 1 --> prompts endlessly for partition


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>