You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<# 0 #>New-Object System.Management.Automation.Host.ChoiceDescription "&Yes","Cleanup .\Temp\ 1_Prereq.ps1 2_CreateParentDisks.ps1 and rename 3_deploy.ps1 to just deploy.ps1"
1113
+
<# 1 #>New-Object System.Management.Automation.Host.ChoiceDescription "&No","Keep files (in case DC was not created sucessfully)"
1114
+
)
1115
+
$response=$host.UI.PromptForChoice("Unnecessary files cleanup","Do you want to cleanup unnecessary files and folders?",$options,0<#default option#>)
DomainAdminName='LabAdmin'; # Used during 2_CreateParentDisks (no affect if changed after this step)
20
-
AdminPassword='LS1setup!'; # Used during 2_CreateParentDisks. If changed after, it will break the functionality of 3_Deploy.ps1
21
-
Prefix = 'MSLab-'; # (Optional) All VMs and vSwitch are created with this prefix, so you can identify the lab. If not specified, Lab folder name is used
22
-
SwitchName = 'LabSwitch'; # (Optional) Name of vSwitch
23
-
SwitchNICs = 'NIC1",NIC2"; # (Optional) Adds these NICs to vSwitch (without connecting hostOS).
19
+
DomainAdminName="LabAdmin"; # Used during 2_CreateParentDisks (no affect if changed after this step)
20
+
AdminPassword="LS1setup!"; # Used during 2_CreateParentDisks. If changed after, it will break the functionality of 3_Deploy.ps1
21
+
Prefix = "MSLab-"; # (Optional) All VMs and vSwitch are created with this prefix, so you can identify the lab. If not specified, Lab folder name is used
22
+
SwitchName = "LabSwitch"; # (Optional) Name of vSwitch
23
+
SwitchNICs = "NIC1","NIC2"; # (Optional) Adds these NICs to vSwitch (without connecting hostOS).
24
24
SecureBoot=$true; # (Optional) Useful when testing unsigned builds (Useful for MS developers for daily builds)
25
-
DCEdition='4'; # 4 for DataCenter or 3 for DataCenterCore
0 commit comments