CmdID / PowerShell / Cmdlets / Remove
Remove-VM
Deletes a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts from which the virtual machine is to be deleted.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-ForceSpecifies that confirmation prompts are to be suppressed during deletion of the virtual machine.-Name, -VMNameSpecifies the name of the virtual machine to be deleted.-PassthruSpecifies that an object is to be passed through to the pipeline representing the virtual machine to be deleted.-VMSpecifies the virtual machine to be deleted.-WhatIf, -wiShows what would happen if the cmdlet runs.