Skip to content

Instantly share code, notes, and snippets.

@tomtorggler
Created March 9, 2016 21:10
Show Gist options
  • Save tomtorggler/e833d53542d1ff5640ec to your computer and use it in GitHub Desktop.
Save tomtorggler/e833d53542d1ff5640ec to your computer and use it in GitHub Desktop.
# Create Volume
Invoke-Command -ComputerName n01.vdi.local -ScriptBlock {
$params = @{
Size = 50GB;
StoragePoolFriendlyName = "s2d-pool";
FriendlyName = "mirror-disk";
FileSystem = "CSVFS_ReFS";
PhysicalDiskRedundancy = 2
}
New-Volume @params
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment