Framework
AutomatedLab/AutomatedLab avatar
AutomatedLab/AutomatedLab

AutomatedLab: a lab provisioner whose best feature is crossing the on-premises and cloud boundary

AutomatedLab is a provisioning solution and framework that lets you deploy complex labs on HyperV and Azure with simple PowerShell scripts. It supports all Windows operating systems from 2008 R2 to 2022, some Linux distributions and various products like AD, Exchange, PKI, IIS, etc.

2,238 stars386 forksPowerShellMIT

At a glance

What is it?
A PowerShell framework for standing up multi-product test environments, Windows from 2008 R2 to 2022 and a fixed list of server products, where the differentiator is not the provisioning itself but one command that connects an Azure lab to a Hyper-V lab, and where the Linux support is narrower than the product matrix suggests.
Who is it for?
Adopt AutomatedLab if you build and test Windows server software and your test environments are hand-assembled today, because a complex multi-machine lab is about a hundred lines of script and a snapshot restore is one cmdlet, and the product matrix covers the stack most enterprise software actually deploys on.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 2 days ago.
What is it written in?
Mainly PowerShell, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • AutomatedLab/AutomatedLab2,238 ★ · +10
Star history
Repository2026-09-302026-11-24
AutomatedLab/AutomatedLab2.2k2.2k

10 Stars in the last 55 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

A complex lab is about a hundred lines, and a single machine is three

The feature list leads with a claim that is specific enough to be useful, and specific claims are what you should look for in a provisioning tool. Setting up a lab with a single machine takes three lines of script, and a complex lab, the example given being a large lab combining an old server generation, an exchange product, a database and a systems management product, takes about a hundred. The samples directory is linked from that claim, which is the right way to make it, because a provisioning framework is only as good as the scenarios someone has already solved. Reading the sample names is the fastest way to understand the scope. There is a ProGet lab, which is a private package gallery used to seed a lab with software the same way you would in production. There is a configuration-management pull server scenario, including one with a database reporting layer. There is a federated directory lab with three forests and trusts between them, which is the scenario most people are afraid to build by hand. There is a multi-round-trip single sign-on scenario, which is the hardest identity topology in the product list. Each of those is a working answer to a question you would otherwise spend days on, and each one is a document as much as a script. The framework's own summary is that you need two things, the installation images and either a virtualisation host or a cloud subscription, which is an honest statement that this is an orchestrator and not a provisioner of software. The one-machine claim is illustrated by a sample script whose filename is a numbered Windows client script, and the complex case by a sample that combines a server generation, an email server, a database and a systems management product. The sample scripts are linked from the feature list itself, so the hundred-line claim is checkable rather than aspirational.

One command connects a cloud lab to a physical one

This is the feature that distinguishes this framework from every other provisioning script collection, and it is buried in the second bullet of the list. Labs running in your cloud subscription can be connected to each other, and connected to a lab on your own hypervisor, using a single command, with a wiki page devoted to it. Read what that actually buys you. In a hybrid test environment, which is the normal state for anything that deploys to both, the hard part is not building the machines, it is the network between them: routing, name resolution, and certificates that are valid in two places at once. Doing that by hand means hand-building route tables, deciding which name resolves where, and issuing certificates whose subject names cover both environments. Doing it with a command means the framework owns the topology, so a lab that spans a boundary behaves as one lab. The second-order effect is larger than the feature. It means a scenario can be developed on local virtualisation and its integration half tested against a real cloud service, in the same lab definition, which is the difference between a lab you can reproduce for a customer and one you can only reproduce on your laptop. If you deploy software to both on-premises and cloud, this is the reason to look at AutomatedLab at all, and it is worth reading the wiki page before you compare features.

The product matrix is an inventory of what enterprise software still deploys on

The supported product list is a good proxy for what the enterprise install base looked like over the fifteen years this project has existed, and it is more informative than a feature list. The Windows guests run from 2008 R2 through 8.1, the 10 and 2012 generations, then 2016, 2019 and 2022. So a lab can be built that reproduces the exact operating system a customer is still running, which for infrastructure software is the difference between a test environment and a simulation. The product list follows the same logic. A relational database across six generations. An email server across three. A directory product, a federation product, a management product in three flavours, a deployment product, an endpoint management product, a source control and build product, a team foundation product, and an office suite across three versions. Then the ones that are not operating systems at all: a private package gallery, a pull server for configuration management with a reporting layer, an enterprise resource planning product, and remote desktop services including its web client. Two entries are worth pausing on. The remote desktop services entry means this is not only a server-side tool, you can build a lab with the full remote application stack. And the configuration management pull server with a reporting database is the one most operations people will want, because it lets you test an actual deployment pipeline rather than a set of servers. The gaps are as informative as the entries: there is no Linux product in that list at all, which tells you the product focus is unambiguously the Microsoft stack even though the host can be Linux.

The Linux and macOS story is honest, which is worth more than a long list

Most tools that claim cross-platform support have one line of caveats at the bottom. This one has a paragraph, and the paragraph is more useful than the claim. On the host side, the supported set is a named list of distributions, and the readme says support is best-effort and takes time because of the fragmented nature of Linux distributions, and that it is regularly tested on two of them. On the guest side it names the supported distributions and states outright that the desktop Linux image is not supported, only server images. On macOS it says support is best effort due to a lack of the relevant hardware, and invites sponsorship to fix that, which is a sentence that tells you the state of testing more accurately than any compatibility matrix. Then the two restrictions that will actually change your plan. Remoting is mandatory, and the readme says so without hedging: no remoting, no way for the framework to do its thing. And the Azure restriction is the one that surprises people, because the summary at the top implies cloud parity and the detail contradicts it. At the moment the framework only works using Azure when using Linux. So a Linux guest goes to the cloud and a Windows guest goes to the hypervisor, and if you assumed you could put a Linux lab in Azure and test against an on-premises directory, that assumption does not hold today. Read the requirements as a specification rather than as a compatibility note, because that is what it is.

The build tree is a solution file and a dozen modules, built on a Windows CI

The top-level listing describes a large Windows-centric codebase, and the shape of it is informative. There is a solution file at the root and roughly a dozen first-party modules with names that map to the framework's parts: a common library, a core library, a recipe library, a definition library, a worker library, an unattended setup library, a notification library, a ships module, a test module, a test client, and a test directory. Alongside them sit the things a PowerShell project of this size accumulates: a directory of sample lab sources, a lab definition directory, a directory of packaged file transfers, a logging module, a help directory with a script to regenerate it, an installer directory, an assets directory, a build directory, a script analyzer module, and a continuous integration configuration. Two of those deserve a mention. The logging module being a separate first-class project rather than a helper folder tells you logging was designed in rather than bolted on, which matters for a tool whose output is the record of what a lab did. And the continuous integration runs on a Windows build service with separate configurations for the two long-lived branches, which is the correct place to build something that requires the target operating system. The project also keeps both a development branch and a stable branch with their own badges, and publishes to a package gallery as well as to an installer on the releases page, so you can install the module without cloning.

Snapshots, restore, and the install images you have to supply yourself

Two operational points close this out, and they are the difference between this being usable and this being a hobby. The first is the snapshot story. The feature list says snapshots of some or all lab machines can be created, restored and removed with a single cmdlet each, and gives three cmdlet names. That is the feature that makes a provisioning tool worth having, because a lab you have to rebuild from scratch every time you break it is a lab you will stop using. Take a snapshot at the point where the machines are built and the roles installed, break the thing under test, restore, repeat. The cost is disk, and the readme's hardware requirements are explicit that low-latency high-throughput storage is needed and that spinning disks cause problems, which is consistent with a design that keeps several checkpoints per machine. The second point is the install media. The project summary says the only two things you need to make sure of are the installation images and a host, which sounds trivial until you realise it means you supply the installation media for every guest and every role you want to deploy. So before you plan a lab catalogue, you need a media library, and the tool will not build that for you. That is the right division of labour, and it is also the part people underestimate. Provisioning a machine is easy. Deciding which versions of everything you need to be able to test is the actual project.

Editorial conclusion

Adopt AutomatedLab if you build and test Windows server software and your test environments are hand-assembled today, because a complex multi-machine lab is about a hundred lines of script and a snapshot restore is one cmdlet, and the product matrix covers the stack most enterprise software actually deploys on. Do not adopt it if your estate is Linux-first, because the readme is unusually candid that the Linux support is best-effort across fragmented distributions, that the desktop Linux image is not supported at all, and that macOS support exists only because the maintainers lack the hardware. Two things to check before you plan a lab. Read the hardware requirements, because the storage line is not a suggestion, it says no spinning disks because there are known issues with them, and the virtualisation CPU extensions are mandatory. And read the Azure restriction, because the readme states the framework currently only works on Azure when the guests are Linux, which is the opposite of the intuitive reading and will change what you can put where.

Frequently asked questions

What does AutomatedLab require to build a lab?

The summary says two things, the installation images for the operating systems and roles you want to deploy, and either a hypervisor host or an Azure subscription. Beyond that it requires a recent management framework, a .NET runtime, administrative privileges, hardware virtualisation support in the CPU, and fast non-spinning storage.

Can AutomatedLab connect a cloud lab to an on-premises lab?

Yes. Labs in an Azure subscription can be connected to each other or connected to a hypervisor lab using a single command, and the readme links a wiki page on connecting on-premises and cloud labs. This is the feature that makes hybrid scenarios reproducible.

What is the Linux and macOS support like in AutomatedLab?

The readme describes it as best-effort across fragmented distributions, names the supported guest distributions, states that the desktop Linux image is not supported, says macOS support exists only for lack of hardware, and notes remoting is mandatory. It also states the framework only works using Azure when using Linux.

How do I install AutomatedLab?

Two options, an installer published on the releases page, or installation from the PowerShell Gallery using the install-module cmdlet, with details in the project wiki. Documentation is split across installation, getting started and contributing pages.

Can AutomatedLab take and restore snapshots of lab machines?

Yes, with single cmdlets for creating, restoring and removing snapshots of some or all lab machines, and the readme names all three. This is what lets you break a lab and restore it without rebuilding.

Official sources

  1. AutomatedLab/AutomatedLab on GitHub
  2. Issues
  3. License: MIT
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/automatedlab-automatedlab.svg)](https://hysenlabs.com/projects/automatedlab-automatedlab)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/automatedlab-automatedlab.svg)](https://hysenlabs.com/projects/automatedlab-automatedlab)

Was this useful?