Udostępnij za pośrednictwem


SMS_TaskSequence_ApplyNetworkSettingsAction Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_TaskSequence_ApplyNetworkSettingsAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that specifies the network or workgroup configuration information for the target computer.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_TaskSequence_ApplyNetworkSettingsAction : SMS_TaskSequence_Action
{
      SMS_TaskSequence_NetworkAdapterSettings Adapters[];
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      String Description;
      String DNSDomain;
      String DNSSuffixSearchOrder[];
      String DomainName;
      String DomainOUName;
      String DomainPassword;
      String DomainUsername;
      Boolean Enabled;
      Boolean EnableTCPIPFiltering;
      String Name;
      UInt32 NetworkJoinType;
      UInt32 NumAdapters;
      String SupportedEnvironment;
      UInt32 Timeout;
      String WorkgroupName;
};

Methods

The SMS_TaskSequence_ApplyNetworkSettingsAction class does not define any methods.

Properties

  • DNSDomain
    Data type: String

    Access type: Read/Write

    Qualifiers: [Global]

    The primary Domain Name System (DNS) domain. This property must be global so that it is visible in finalize mode.

  • DNSSuffixSearchOrder
    Data type: String Array

    Access type: Read/Write

    Qualifiers: [Global]

    The DNS suffix search order. This property must be global so that it is visible in finalize mode.

  • DomainName
    Data type: String

    Access type: Read/Write

    Qualifiers: [RequiredIfNull("WorkgroupName"), AllowedLen("1-255")]

    Name of the domain for the target computer. The name can be between 1 and 255 characters in length. Supply this name if NetworkJoinType is set to 0.

  • DomainOUName
    Data type: String

    Access type: Read/Write

    Qualifiers: [AllowedLen("0-32767")]

    The name of the Active Directory organizational unit (OU) to which the user belongs. The name can be between 0 and 32,767 characters in length. Set this property if NetworkJoinType is set to 0.

  • DomainPassword
    Data type: String

    Access type: Read/Write

    Qualifiers: [VariableName("OSDJoinPassword"), Secret]

    Password of the account used when the user joins a Windows domain. Set this property if NetworkJoinType is set to 0.

    The task sequence variable associated with this property is OSDJoinPassword. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.

  • DomainUsername
    Data type: String

    Access type: Read/Write

    Qualifiers: [VariableName("OSDJoinAccount")]

    Account used when the user joins a Windows domain. Set this property if NetworkJoinType is set to 0.

    The task sequence variable associated with this property is OSDJoinAccount, which specifies the network account that should be used to add the target computer to a Windows domain. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.

  • EnableTCPIPFiltering
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: [Global]

    true to enable TCP/IP filtering. The default value is false. This property must be global so that it is visible in finalize mode.

  • NetworkJoinType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [Not_Null]

    The type of network join supported by the target computer. Possible values are:

    0

    Domain

    1

    Workgroup

  • NumAdapters
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [Global, VariableName("OSDAdapterCount")]

    Size of the array indicated by the Adapters property. This property must be global so that it is visible in finalize mode.

    The task sequence variable associated with this property is OSDAdapterCount. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.

    OSDAdapterCount

  • WorkgroupName
    Data type: String

    Access type: Read/Write

    Qualifiers: [RequiredIfNull("DomainName"), AllowedLen("1-32")]

    Name of the workgroup joined by the target computer. The name can be between 1 and 32 characters in length. Set this property if NetworkJoinType is set to 1.

Remarks

Class qualifiers for this class include:

[CommandLine("osdnetsettings.exe configure"),VariablePrefix("OSD"), ActionCategory{"Settings,4,6"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "ApplyNetworkSettingsControl", "TaskSequenceOptionControl"}]

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Operating System Deployment Server WMI Classes
About Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
How to Create an Operating System Deployment Task Sequence
How to Add an Operating System Deployment Task Sequence Action