Skip to content

Installing software/running scripts on VMs #615

Answered by SteveMacNZ
ogmini asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Ogmini,

The first 3 point are covered just by using the LabConfig.ps1 script by default every VM you specify in the configuration will be offline domain joined using blob unless you add 'Unattend="None"' to the VM configuration as shown below in the code snip from my LabConfig.ps1 - to specify just the DC and 2 Windows 11 VM's your config file would only contain the variables and the $LABConfig.VMs for the Client VMs

#& Create a non-domain joined LAB VM - Use this if wanting to Azure AD Domain Join a device
$LABConfig.VMs += @{ VMName = 'CLI-WIN-03'; Configuration = 'Simple'; ParentVHD = 'Windows11Pro.vhdx'; MemoryStartupBytes= 2GB ; vTPM=$true ; DisableWCF=$true ; Generation=2 ; VMPro…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ogmini
Comment options

@ogmini
Comment options

Answer selected by ogmini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants