CmdID

CmdID / PowerShell / Cmdlets / Set

Set-VMGpuPartitionAdapter

Assigns a partition of a GPU to a virtual machine. Windows Server PowerShell reference

From the Windows Server PowerShell reference 22 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

22 in the Windows Server PowerShell reference
Show its 22 parameters
-AdapterIdA VM's GPU partition identification number used to display the GPU information assigned to 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.
-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 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 configured.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.