WindowsConfiguration Class

Definition

Specifies Windows operating system settings on the virtual machine.

public class WindowsConfiguration
type WindowsConfiguration = class
Public Class WindowsConfiguration
Inheritance
System.Object
WindowsConfiguration

Constructors

WindowsConfiguration()

Initializes a new instance of the WindowsConfiguration class.

Properties

AdditionalUnattendContent

Gets or sets specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

EnableAutomaticUpdates

Gets or sets indicates whether virtual machine is enabled for automatic updates.

ProvisionVMAgent

Gets or sets indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

TimeZone

Gets or sets specifies the time zone of the virtual machine. e.g. "Pacific Standard Time"

WinRM

Gets or sets specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.

Applies to