Set-VMRemoteFx3dVideoAdapter

Set-VMRemoteFx3dVideoAdapter

Configures the RemoteFX 3D video adapter of a virtual machine.

Syntax

Parameter Set: Object
Set-VMRemoteFx3dVideoAdapter [-VMRemoteFx3dVideoAdapter] <VMRemoteFx3DVideoAdapter[]> [[-MonitorCount] <Byte> ] [[-MaximumResolution] <String> ] [-Passthru] [ <CommonParameters>]

Parameter Set: VMName
Set-VMRemoteFx3dVideoAdapter [-VMName] <String[]> [[-MonitorCount] <Byte> ] [[-MaximumResolution] <String> ] [-ComputerName <String[]> ] [-Passthru] [ <CommonParameters>]

Parameter Set: VMObject
Set-VMRemoteFx3dVideoAdapter [-VM] <VirtualMachine[]> [[-MonitorCount] <Byte> ] [[-MaximumResolution] <String> ] [-Passthru] [ <CommonParameters>]

Detailed Description

The Set-VMRemoteFx3dVideoAdapter cmdlet configures the RemoteFX 3D video adapter of a virtual machine.

Parameters

-ComputerName<String[]>

Specifies one or more Hyper-V hosts on which the RemoteFX 3D video adapter is to be configured. 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.

Aliases

none

Required?

false

Position?

named

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MaximumResolution<String>

Specifies the maximum resolution supported by this adapter.

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

-MonitorCount<Byte>

Specifies the maximum number of monitors supported by this adapter.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Passthru

Specifies that a Microsoft.Virtualization.Powershell.RemoteFxVideoAdapter object is to be passed through to the pipeline representing the adapter to be configured.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VM<VirtualMachine[]>

Specifies the virtual machine on which the adapter is to be configured.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMName<String[]>

Specifies the name of the virtual machine on which the adapter is to be configured.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

true

-VMRemoteFx3dVideoAdapter<VMRemoteFx3DVideoAdapter[]>

Specifies the adapter to be configured.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None by default; Microsoft.Virtualization.Powershell.RemoteFxVideoAdapter if –PassThru is specified.

Examples

Example 1

Sets the maximum resolution of the RemoteFX adapter on virtual machine TestVM to 1920x1200.

PS C:\> Set-VMRemoteFx3dVideoAdapter –VMName TestVM –MaximumResolution 1920x1200