mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-22 17:33:08 -05:00
7 lines
125 B
PowerShell
7 lines
125 B
PowerShell
Param(
|
|
[Parameter(Mandatory=$true)]
|
|
[string]$VmId
|
|
)
|
|
|
|
$VM = Get-VM -Id $VmId -ErrorAction "Stop"
|
|
Remove-VM $VM -Force
|