Disable-VMRemoteFXPhysicalVideoAdapter
Disables one or more RemoteFX physical video adapters from use with RemoteFX-enabled virtual machines.
Syntax
Disable-VMRemoteFXPhysicalVideoAdapter
[-Name] <String[]>
[-ComputerName <String[]>]
[-Passthru]
Disable-VMRemoteFXPhysicalVideoAdapter
[-GPU] <VMRemoteFXPhysicalVideoAdapter[]>
[-Passthru]
Description
The Disable-VMRemoteFXPhysicalVideoAdapter disables one or more RemoteFX physical video adapter from use with RemoteFX-enabled virtual machines.
Examples
Example 1
PS C:\>Disable-VMRemoteFXPhysicalVideoAdapter -Name *Nvidia*
This example disables all RemoteFX physical video adapters that include the string "Nvidia" in their names.
Example 2
PS C:\>Get-VMRemoteFXPhysicalVideoAdapter -Name *Nvidia* | Disable-VMRemotePhysicalVideoAdapter
This example disables all RemoteFX physical video adapters that include the string "Nvidia" in their names.
Parameters
-ComputerName
Specifies one or more Hyper-V hosts on which the RemoteFX physical video adapters are to be disabled. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer - use "localhost" or a dot (".") to specify the local computer explicitly.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GPU
Specifies one or more RemoteFX physical video adapters to disable.
Type: | VMRemoteFXPhysicalVideoAdapter[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Passthru
Specifies that Microsoft.HyperV.PowerShell.VMRemoteFXPhysicalVideoAdapter objects are to be passed to the pipeline representing the RemoteFX physical video adapters to be disabled.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.HyperV.PowerShell.VMRemoteFXPhysicalVideoAdapter[]
String[]
Outputs
None
Default
Microsoft.HyperV.PowerShell.VMRemoteFXPhysicalVideoAdapter
If -PassThru is specified.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for