Get Software Update Compliance
Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator
The Get Software Update Compliance activity is used in a runbook that retrieves the status of an advertisement to determine if an update has completed.
For the procedure to configure this object, see: Configuring the Get Software Update Compliance Activity
When Computer and Update ID filters are specified that do not result in any data returned (the update is not assigned to or known by the computer), the published data will only contain the Connection and Result Count properties, and the Result Count will equal 0.
Properties and Published Data
The following tables list the properties and published data for this activity.
Get Software Update Compliance Filters
Element | Description | Filters | Value Type |
---|---|---|---|
Computer Name |
The name of the computer to query for the software update status. Be aware that the double quote (") character is not supported for use in this field. |
Equals Does not equal Contains Does not contain Matches pattern Does not match pattern |
String |
Update ID |
The site-specific identifier for the software update |
Equals Does not equal Is less than or equal to Is greater than or equal to |
Integer |
Get Software Update Compliance Published Data
Element | Description | Value Type |
---|---|---|
Computer Name |
The name of the computer for which the software update status is being determined |
String |
Connection |
Specifies the name of the connection to the Configuration Manager server |
String |
Enforcement Source |
The source of the compliance enforcement action |
String |
Last Enforcement Message ID |
The identifier of the last enforcement state message received |
Integer |
Last Enforcement Message Name |
The name of the last enforcement state message received |
String |
Last Enforcement Message Time |
The date and time of the last enforcement state message |
String (mm/dd/yyyy hh:mm:ss AM or PM) |
Last Enforcement Status Message ID |
The identifier of the last enforcement status message received |
Integer |
Last Status Change Time |
The date and time of the last compliance status change |
String (mm/dd/yyyy hh:mm:ss AM or PM) |
Last Status Check Time |
The date and time of the last compliance status check |
String (mm/dd/yyyy hh:mm:ss AM or PM) |
Resource ID |
The site-specific identifier of the computer related to the compliance status |
Integer |
Result Count |
The number of data items returned from the query |
Integer |
Status |
The current compliance status of the target computer |
String |
Update ID |
The site-specific update identifier related to the status results |
Integer |
Configuring the Get Software Update Compliance Activity
To configure the Get Software Update Compliance activity
From the Activities pane, drag a Get Software Update Compliance activity to the active runbook.
Double-click the Get Software Update Compliance activity icon. The Properties dialog box opens.
Configuring the Details tab:
In the Connection section, click the ellipsis button (...), and then select the Configuration Manager server connection that you want to use for this activity. Click OK.
In the Filters section, at least one filter is required to define the activity. Click Add.
In the Name box, click the down arrow and select a property from the list.
In the Relation box, click the down arrow and select a filter type.
In the Value box, enter the value you want to use.
You can also use published data to automatically populate the value of the property from the data output by a previous activity in the runbook.
To use published data
Right-click the property value box, click Subscribe, and then click Published Data.
Click the Activity drop-down box and select the activity from which you want to obtain the data.
To view additional data elements common across the runbook, select Show Common Published Data.
Click the published data element you want to use, and then click OK.
For a list of the data elements published by each activity, see the Published Data tables in the activity topic. For information about the Common Published Data items, see Published Data in the System Center Orchestrator 2012 Runbook Guide.
Click OK to save the filter settings.
Add additional filters as needed.
To make changes to a filter, click the filter, and then click Edit. Make the necessary changes, and then click OK.
To remove a filter, click the filter, and then click Remove.
For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for all Activities.
Click Finish.
Other Activities
The Integration Pack for System Center Configuration Manager contains the following additional activities: