VmGcProfileSysprepParams#

class VmGcProfileSysprepParams(general_settings=None, first_logon_commands=None, locale_settings=None, workgroup_or_domain_info=None, network_settings=None, *args, **kwargs)#

Bases: object

A set of various unattended settings supported by Windows. The unattend XML is generated based on the values provided for these elements.

Parameters:
  • general_settings – (general_settings)

  • first_logon_commands – (first_logon_commands) List of commands to be executed automatically when a user logs in for the first time after Windows setup. This is an ordered list. The first command in the list is given the order as 1, and so on, in FirstLogonCommands in the generated unattend XML. For more information, refer to Windows unattend installation documentation.

  • locale_settings – (locale_settings)

  • workgroup_or_domain_info – (workgroup_or_domain_info) JoinWorkgroup or JoinDomain settings of the computer.

  • network_settings – (network_settings)

property first_logon_commands#

List of commands to be executed automatically when a user logs in for the first time after Windows setup. This is an ordered list. The first command in the list is given the order as 1, and so on, in FirstLogonCommands in the generated unattend XML. For more information, refer to Windows unattend installation documentation.

Type:

list[ str ]

property general_settings#
Type:

VmGcProfileGeneralSettings

property locale_settings#
Type:

VmGcProfileLocaleSettings

property network_settings#
Type:

VmGcProfileNetworkSettings

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property workgroup_or_domain_info#

JoinWorkgroup or JoinDomain settings of the computer.

Type:

VmGcProfileWorkgroup | VmGcProfileDomainSettings