AutomatedLab
AutomatedLab (AL) enables you to
- Set up lab and test environments
- On Hyper-v or Azure with multiple products
- Including just a single VM quickly.
Require one:
- .NET 4.7.1 (Windows PowerShell)
- .NET Core 2+ (PowerShell 6+)
Require one:
- Hyper-V Host
- Azure Subscription
Finally:
- Operating System DVD ISO Images
Build | Status | Last Commit | Latest Release |
---|---|---|---|
Develop | |||
Master |
Tutorials
Videos
Scripts
- Official sample scripts in your local LabSources should cover many scenarios.
- DSC Workshop Overview
Requirement
Apart from the module itself, your system needs to meet the following requirements:
- .NET Core 2.x (PowerShell Core 6+) Preferred
- Recommended en-us language Operating Systems language
- Operating Systems ISO files for all roles to be deployed
- Intel VT-x or AMD/V capable CPU
- A generous amount of RAM
- Low-Latency high-throughput storage (No spinning disks, please, as there are issues related to them)
Windows
- Windows Management Framework 5+
- NET 4.7.1 (Windows PowerShell)
- Windows Server 2012 R2+/Windows 8.1+
- Admin privileges are required.
Linux
- Ubuntu, Ubuntu WSL & Azure Cloud Shell supported
- Tested on Ubuntu. Due to fragmented nature of Linux distributions, we cannot support anything else.
- PowerShell Core 6+
- gss-ntlmssp to enable remoting (mandatory - no remoting, no way for AutomatedLab to do its thing)
- If in doubt, try to
Install-Module PSWSMAN; Install-WSMAN
- no success warranted - IP and route commands available
- Azure subscription
- At the moment, AutomatedLab only works using Azure.
- KVM planned for a later date.
Supported products
This solution supports setting up virtual machines with the following.
- Windows 7, 2008 R2, 8 / 8.1 and 2012 / 2012 R2, 10 / 2016, 2019, 2022
- SQL Server 2008, 2008R2, 2012, 2014, 2016, 2017, 2019 more
- Visual Studio 2012, 2013, 2015, 2017 more
- Team Foundation Services 2015+
- Azure DevOps more
- Exchange 2013, 2016, 2019
- SharePoint 2013, 2016, 2019
- System Center Orchestrator 2012
- System Center Configuration Manager 1809 or 1902+
- System Center Operations Manager
- System Center Virtual Machine Manager
- Microsoft Deployment Toolkit (MDT) more
- ProGet (Private PowerShell Gallery)
- Office 2013, 2016
- DSC Pull Server (with SQL Reporting) more
- Hyper-V more
- Failover Clustering more
- Dynamics 365 more
Feature List
Set-Up
- AutomatedLab (AL) makes setup easy
- A single machine is three lines.
- Complex labs in approximately 100 lines
- Scan these sample scripts
Environment
- A single command to connect Azure or Hyper-V Lab Learn more
- Composite scenarios to demo PowerShell Gallery resources
- Inedo ProGet more
- Desired State Configuration (DSC) Pull Service more
- Multiple Active Directory Federation Services (ADFS) Forests Trusts more
Configuration
Manage one, some, or all virtual lab machines
- Run Checkpoint-LabVM, Get-LabVMSnapshoft, Restore-LabVMSnapshot, Remove-LabVMSnapshot
- Get-LabWindows Feature,Install-LabWindowsFeature, Uninstall-LabWindowsFeature
- Get-LabSoftwarePackage, Install-LabSoftwarePackage(s)
- Silent installation mode available
- MSI & EXE supported
- Parallel workflows supported
- Invoke-LabDscConfiguration
- Invoke-LabCommand to run Script & ScriptBlock
- CredSsp is always enabled to use with the UseCredSsp switch
Network
- Multi-Virtual Network Adapter to create DMZs
- External, Internal & Private network supported
- DHCP, DNS, IPAM, NLB, SMB supported
- Routing & Remote Access Service (RRAS)
- Single Domain, Routing & File Server with DMZ lab
Management
- Single command offline patching
- All lab machines use one disk per OS
- Update-LabIsoImage Efficiently patch OS ISO files more
- Remove-Lab obliterate lab with one command
Telemetry
Starting with AutomatedLab version 5, we are collecting telemetry. To see what you guys deliver, we are sharing the resulting Power BI report with you. You can view the full report at your leisure. To learn more about what is collected, see here.