CmdID / PowerShell / Cmdlets / Add
Add-VMGpuPartitionAdapter
Adds a GPU partition adapter to a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts from which virtual machines are to be retrieved.-CredentialSpecifies one or more user accounts that have permission to perform this action.-InstancePathRepresents the Device Instance path of a GPU in the host.-MaxPartitionComputeThe maximum number of compute assigned by the host GPU.-MaxPartitionDecodeThe maximum number of decoders assigned by the host GPU.-MaxPartitionEncodeThe maximum number of encoders assigned by the host GPU.-MaxPartitionVRAMThe maximum VRAM in bytes supported by the host GPU.-MinPartitionComputeThe minimum number of compute assigned by the host GPU.-MinPartitionDecodeThe minimum number of decoders assigned by the host GPU.-MinPartitionEncodeThe minimum number of encoders assigned by the host GPU.-MinPartitionVRAMThe minimum VRAM in bytes supported by the host GPU.-OptimalPartitionComputeThe optimal number of compute assigned by the host GPU.-OptimalPartitionDecodeThe optimal number of decoders assigned by the host GPU.-OptimalPartitionEncodeThe optimal number of encoders assigned by the host GPU.-OptimalPartitionVRAMThe optimal VRAM in bytes supported by the host GPU.-PassthruReturns an object for each process that the cmdlet started.-VMSpecifies the virtual machine on which the network adapter is to be added.-VMNameSpecifies the name of the virtual machine on which the network adapter is to be added.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.