Replace Diskpart with PowerShell
In the new world of Powershell you can replace many of the command line utilities used by Windows Administrators. Here is a way to replace Diskpart with PowerShell commands. 1. Check if the initiator can see the disk: Get-disk 2. Select the disk to bring disk online: Set-disk –number 3 –IsOffline $False 3. Make disk…