/PowershellAutomatedLab

Scripts to setup lab environments with Automated Lab

Primary LanguagePowerShell

PowershellAutomatedLab

Scripts to setup lab environments with Automated Lab

Requirements

Automated Lab must be installed. ISO files must be downloaded into the LabSources\ISOs folder. List available ISOs with Get-LabAvailableOperatingSystem

Useful Commands

Import-Lab {Lab Name} Import the lab into the current powershell session so it can be queried and interacted with

Get-LabVMStatus Get list of lab machines and their status

Enter-LabPSSession {Vm Name} Enter a powershell session for the lab machine

Connect-LabVM {Vm Name} RDP to a lab machine

Cleanup

To delete the lab use Remove-Lab or Remove-Lab -Name {Lab Name}

Troubleshooting

When using wifi as an external network sometimes it can get disconnected. To fix open hyper-v, toggle vswitch to internal, then toggle but to external. Can be done while network is still being created.