SMS_TaskSequence_FileConditionExpression Server WMI Class

The SMS_TaskSequence_FileConditionExpression Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a condition expression to check for the existence of a file and its creation time.

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

Syntax

Class SMS_TaskSequence_FileConditionExpression : SMS_TaskSequence_ConditionExpression  
{  
      DateTime DateTime;  
      String DateTimeOperator;  
      String Path;  
      String Version;  
      String VersionOperator;  
};  

Methods

The SMS_TaskSequence_FileConditionExpression class does not define any methods.

Properties

DateTime
Data type: DateTime

Access type: Read/Write

Qualifiers: None

The date and time used to evaluate the target computer for a specific, user-specified timestamp on a file.

The timestamp that is displayed in the Configuration Manager console is the local time on the computer running the Configuration Manager console. The timestamp is converted to Coordinated Universal Time (UTC). The comparison on the target computer uses the UTC timestamp so that time zones and daylight savings time do not affect the comparison.

DateTimeOperator
Data type: String

Access type: Read/Write

Qualifiers: None

The date and time operator. Possible values are:

  • equals

  • notEquals

  • less

  • lessEqual

  • greater

  • greaterEqual

    Path
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_Null]

    The path on the target computer for the file that is being verified. The path can contain embedded task sequence and system environment variables, for example, %windir%\notepad.exe.

    Version
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Value used to evaluate the target computer for a specific, user-specified version of a file.

    VersionOperator
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    The version operator. Possible values are:

  • equals

  • notEquals

  • less

  • lessEqual

  • greater

  • greaterEqual

Remarks

There are no class qualifiers for this class. 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.