Rescan your disks with PowerShell

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 Emoticon met brede lach

"rescan" | diskpart

Leave a Reply

Your email address will not be published. Required fields are marked *