ui-tests-local-vm
A contributor skill in the PowerToys repository for running the project's new UI test suites inside persistent Hyper-V virtual machines, keeping the product and tests off the host.
What the skill teaches
A contributor skill in the PowerToys repository for running the project's new UI test suites inside persistent Hyper-V virtual machines, keeping the product and tests off the host. The agent builds on the host, copies the changed payload into the guest over PowerShell Direct, runs focused tests, reads the results and repeats, then requires the full suite to pass on separate Windows 10 and Windows 11 guests, and again under a low-resource profile, before handing off to the repository's CI pipeline skill. Host setup is left to a human, credentials stay in a DPAPI-protected file, tests run as a standard user, and test reports are checked for every test executed rather than trusting exit codes.
Capabilities
- Run PowerToys UI tests in Hyper-V guests over PowerShell Direct
- Require full passes on Windows 10 and Windows 11
- Rerun suites under a constrained CPU and memory profile
- Check test reports for executed and total counts
About
- Publisher
- Microsoft
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- references/agentic-loop.md
- references/customization.md
- references/setup.md
- references/shell-extensions-and-signing.md
- references/troubleshooting.md
- scripts/Get-VmConsoleImage.ps1
- scripts/Get-WindowsMedia.ps1
- scripts/Initialize-LocalVm.ps1
- scripts/Initialize-LocalVmHost.ps1
- scripts/Invoke-GuestScript.ps1
- scripts/Invoke-LocalVmUiTest.ps1
- scripts/LocalVmGuest.psm1
- scripts/Update-LocalVmGuest.ps1
- templates/oem/Provision-UiTestVm.ps1
- templates/oem/Set-GuestResolution.ps1
- templates/oem/Set-UiTestAdminPasswordPolicy.ps1
- templates/oem/Set-UiTestAutoLogon.ps1
- templates/run-ui-tests.ps1
- templates/vm/.gitignore
- templates/vm/New-UiTestVm.ps1
- templates/vm/Reset-LocalVm.ps1
- templates/vm/Start-LocalVm.ps1
- templates/vm/Stop-LocalVm.ps1
- templates/vm/unattend/autounattend.xml.template
- templates/vm/vm.config.example.psd1
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Testing | |
| Publisher | Microsoft | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Windows | source |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026140,862 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from Microsoft
10 servers · 179 skills
- playwright-mcp (MCP server)
- playwright-component-testing (Skill)
- playwright-trace (Skill)
- playwright-cli (Skill)
- Azure MCP Server (MCP server)
- azure-search-nav (Skill)
Also listed under: Testing
Sources
- Skill file (SKILL.md)github.com/microsoft/PowerToys · Backs: Licence, Platforms, Publisher, Includes scriptsNov 14, 2026
- Folder in the repository (ui-tests-local-vm)github.com/microsoft/PowerToys · Backs: Includes scriptsNov 14, 2026
- GitHub repositorygithub.com/microsoft/powertoys · Backs: Activity, LicenceNov 11, 2026