[go: nahoru, domu]

Skip to content

Tips to modify a lab post deployment? #1404

Answered by nyanhp
Xergy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Xergy !

This info is missing from the wiki, I will add that, thanks for noticing.

1 - Add and remove machines

An AutomatedLab is defined by several XML files we export in the background. Those can
be modified to some extent by AutomatedLab cmdlets.

To remove a VM, import the lab first, then remove it:

Import-Lab -Name YourLab -NoValidation # NoValidation - fast import, because we don't need validation to run every time
Remove-LabVm -Name YourMachine # That is enough

To modify a deployment, either:

Import-LabDefinition -Name YourLab
Add-LabMachineDefinition -Name newMachine
Remove-LabMachineDefinition -Name AnotherMachine
Install-Lab

or add the machine definitions in your original scri…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Xergy
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