Use case · Virtualisation

Stop the test VMs. Only the test VMs.

Hyper-V and VMware PowerCLI scripts, checked against the VMs you meant to touch.

No card required. Your script is never executed.

Three patterns we flag

  • Stops every VM on the host

    Get-VM | Stop-VM -Force
  • Removes every snapshot, including the rollback point

    Get-VM | Get-Snapshot | Remove-Snapshot -Confirm:$false
  • Deletes VMs and their disks

    Get-VM -Name test* | Remove-VM -DeletePermanently -Confirm:$false

Sample: stop-test-vms.ps1

Real pattern, synthetic script. Unfiltered collection target.

Try this sample in the free checker

What we check

  • Unfiltered Get-VM pipelines
  • Snapshot and disk deletion
  • Forced power-off
  • Intent vs name filters

What we can't know

  • · How many objects match in your environment when it runs
  • · The current state of your environment
  • · Which permissions the account running it actually holds

The script is never run and we never connect to your environment, so every report states what it could not determine.

Check the next script before it runs.