Created
March 9, 2016 20:54
-
-
Save tomtorggler/2948c5a905f0e1e176a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create Storage Pool | |
Invoke-Command -ComputerName n01.vdi.local -ScriptBlock { | |
$params = @{ | |
StorageSubSystemFriendlyName = "Cluste*"; | |
FriendlyName = "s2d-pool"; | |
PhysicalDisks = (Get-PhysicalDisk -StorageSubSystem (Get-StorageSubSystem -FriendlyName cluster*) -CanPool $true) | |
} | |
New-StoragePool @params | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment