CmdID / PowerShell / Cmdlets / Remove
Remove-VMHostAssignableDevice
Removes a device assigned to a virtual machine (VM) host. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts from which the assignable devices are to be removed.-CredentialSpecifies one or more user accounts that have permission to perform this action.-ForceForces the command to run without asking for user confirmation.-HostAssignableDevice, -VMHostAssignableDeviceSpecifies the device object to be removed.-InstancePathSpecifies the Device Instance path in the host machine.-LocationPathSpecifies the location path to the assignable device.-ResourcePoolNameSpecifies the name of the resource pool from which to remove an assignable device.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.