September 13th, 2015

PowerTip: Use PowerShell to Create New Virtual Disk

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to create a new virtual disk.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create a new virtual disk?

Hey, Scripting Guy! Answer Use the New-VirtualDisk cmdlet, for example:

New-VirtualDisk -StoragePoolFriendlyName Data -FriendlyName MyData -Size 10GB

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.