CmdID / PowerShell / Cmdlets / Remove
Remove-VMGpuPartitionAdapter
Removes an assigned GPU partition from a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AdapterIdThis is a VM's GPU partition identification number used to remove a GPU from a VM.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on the virtual network adapters are to be retrieved.-CredentialSpecifies one or more user accounts that have permission to perform this action.-PassthruReturns an object for each process that the cmdlet started.-VMSpecifies the virtual machine whose virtual network adapters are to be retrieved.-VMGpuPartitionAdapterGPU partition object obtained from Get-VMGpuPartitionAdapter.-VMNameSpecifies the name of the virtual machine whose network adapters are to be removed.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.