CmdID / PowerShell / Cmdlets / Add
Add-VMAssignableDevice
Adds an assignable device to a specific virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 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 on which the assignable devices are to be retrieved.-CredentialSpecifies one or more user accounts that have permission to perform this action.-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.-ResourcePoolNameSpecifies the name of the resource pool to which the device is to be assigned.-VirtualFunctionSpecifies the number of the virtual function (VF) of an SR-IOV-capable network adapter assigned to the virtual machine.-VMSpecifies the virtual machine to which the device is to be assigned.-VMNameSpecifies the name of the virtual machine to which the device is to be assigned.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.