Created
August 4, 2016 07:54
-
-
Save iainbrighton/aff12e50f2929da50d667ee8404fc6bf to your computer and use it in GitHub Desktop.
Register Lability Gen1 media
This file contains hidden or 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
## Register existing Windows 7 x64 Enterprise Evaluation VHD(X) media | |
$WIN7_x64_Enterprise_EN_Eval = @{ | |
Id = 'WIN7_x64_Enterprise_EN_Eval'; | |
Filename = 'WIN7_x64_Enterprise_EN_Eval_022016.vhdx'; | |
Description = 'Windows 7 Enterprise 64bit English Evaluation Patched 02/16'; | |
Architecture = 'x64'; | |
MediaType = 'VHD'; | |
Uri = '\\10.100.50.1\Public\ParentDisks\Win7_x64_Enterprise_EN_Eval_022016.vhdx'; | |
CustomData = @{ | |
PartitionStyle = 'MBR'; ## This creates a Gen1 VM | |
} | |
} | |
Register-LabMedia @WIN7_x64_Enterprise_EN_Eval -Force; | |
## Register existing Linux x64 VHD(X) media | |
$Ubuntu_14_04_3 = @{ | |
Id = 'Ubuntu_14_04_3'; | |
Filename = 'Ubuntu_14.04.3_022016.vhdx'; | |
Description = 'Ubuntu Trusty LTS 14.04.3 Patched 02/16'; | |
Architecture = 'x64'; | |
MediaType = 'VHD'; | |
OperatingSystem = 'Linux'; ## This also creates a Gen1 VM | |
Uri = ''\\10.100.50.1\Public\ParentDisks\Ubuntu_14.04.3_022016.vhdx'; | |
} | |
Register-LabMedia @Ubuntu_14_04_3 -Force; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment