There are some basic tasks one needs to do every once in a while that can not be found in a GUI… for example rescanning your disks on a host when you’ve expanded it on your storage.
Normally I would turn to a command prompt and use diskpart for this one.
But here I am, totally nuts on PowerShell and having to use an old fashioned commandprompt? I think not!
With the following command, in PowerShell, you can rescan your disks
"rescan" | diskpart
This doesn’t work….Just brings up a command prompt with Deskpart!
in windows 7 it doesn’t even work, it says “rescan” is not recognized as an internal or external command
FIXED INSTRUCTIONS (found elsewhere):
1. Open command prompt
2. Type:
Diskpart.exe
3: Type:
RESCAN
done!
worked for me in windows 7. hope it helps!
FIXED INSTRUCTIONS (found elsewhere):
1. Open command prompt
2. Type (no space):
Diskpart .exe
3: Type:
RESCAN
done!
worked for me in windows 7. hope it helps!