The SMS_TaskSequence_FileConditionExpression Windows Management Instrumentation (WMI) class is an SMS Provider server, in Configuration Manager, class 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.

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: DateTimeAccess type: Read/WriteQualifiers: NoneThe 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: StringAccess type: Read/WriteQualifiers: NoneThe date and time operator. Possible values are:
  • equals

  • notEquals

  • less

  • lessEqual

  • greater

  • greaterEqual

Path


Data type: StringAccess type: Read/WriteQualifiers: [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: StringAccess type: Read/WriteQualifiers: NoneValue used to evaluate the target computer for a specific, user-specified version of a file.
VersionOperator


Data type: StringAccess type: Read/WriteQualifiers: NoneThe 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

Development Requirements

See Also


Send comments about this topic to Microsoft.