Skip to content

Command reference

Generated from the module's built-in help by build/Update-Docs.ps1. Do not edit these pages by hand. The same content is available offline via Get-Help <command> -Full.

Start here

Pipeline steps

Test-VM management

  • New-Win32ToolkitTestVM: Provisions the Hyper-V test VM: build (or attach) a golden VHDX, create a Gen2 VM, first-boot, wait for PowerShell Direct, and take a warm 'clean-base' standard checkpoint.
  • Set-Win32ToolkitTestVMResource: Changes the CPU count and/or startup memory of the Hyper-V test VM and re-freezes its clean-base checkpoint.
  • Reset-Win32ToolkitTestVM: Reverts the Hyper-V test VM to its warm 'clean-base' checkpoint (the between-run reset).
  • Remove-Win32ToolkitTestVM: Tears down the Hyper-V test VM (stop, remove checkpoints + VM, optionally delete the VHDX).