Currently there is a add-passthroughDevice that is able to add the passthrough device to the VM however it will attached the device as a DirectPath I/O. In my case, I would like to attached the device as a Dynamic DirectPath I/O instead.
That option is currently not available through the cmdlet.You will have to use the API ReconfigVM method and use the VirtualPCIPassthroughDynamicBackingInfo backing object for Backing.To get some sample code, use Code Capture and do the action via the Web Client.