PowerTip: Use PowerShell to Create New Virtual Disk


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

Comments (0)

Skip to main content