CmdID / PowerShell / Cmdlets / Dismount
Dismount-VMHostAssignableDevice
Dismounts a device from a virtual machine (VM) host. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 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 dismounted.-CredentialSpecifies one or more user accounts that have permission to perform this action.-ForceForces the command to run without asking for user confirmation.-InstancePathRepresents the Device Instance path in the host machine.-LocationPathSpecifies the location path to the assignable device.-PassthruReturns an object for each process that the cmdlet started.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.