Category: SMS
Performs different type of operations on SMSClient
Properties
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
NodeType | Contains the type for node | No | No | No | Output | No | |
Data Type: Text | Comments: | ||||||
Name | Name of the workflow node | Yes | Yes | No | Input | No | |
Data Type: Text | Comments: | ||||||
Description | Description of the workflow node | No | Yes | No | Input | No | |
Data Type: Text | Comments: | ||||||
Operation | Operations to be performed Get Client info, Assign to site, Perform site auto discovery, Perform client action, Perform client actions, Perform local machine policy evaluation, Perform Policy Reset, Trigger Schedule | Yes | Yes | No | Input | No | |
Data Type: Text | Comments: | ||||||
LogData | Any string to output to the workflow log | No | No | No | Input | No | |
Data Type: Text | Comments: |
Operations
Get Client info
Returns information about the ConfigMgr client on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
IsSmsClientInstalled | Set to true if an SMS 2003 client was found installed | No | No | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
IsSCCMClientInstalled | Set to true if an SCCM 2007 client was found installed | No | No | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ClientVersion | Set to the client version, from the SMS_Client instance in root\ccm WMI namespace | No | No | No | Output | Yes | |
Data Type: Text | Comments: | ||||||
ManagementPoint | Set to the name of the current management point | No | No | No | Output | Yes | |
Data Type: Text | Comments: | ||||||
AssignedSite | Set to site code of the site to which the client is assigned | No | No | No | Output | Yes | |
Data Type: Text | Comments: | ||||||
SMSID | Set to unique id of the sms client | No | No | No | Output | Yes | |
Data Type: Text | Comments: |
Note |
---|
For an example of this Operation, please review this article for a full Walkthrough. |
Assign to site
Sets the ConfigMgr client site assignement to the specified site code
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
SiteCode | Site code of the site to which the client should be assigned | Yes | No | No | Input | Yes | |
Data Type: Text | Comments: | ||||||
Result | Set to true if site assignment was successful | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ErrorString | Error description in case site assignment fails | No | No | No | Output | Yes | |
Data Type: Text | Comments: |
Perform site auto discovery
Initiates a site auto discovery action on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
Result | Set to true if autodiscovery was successful | No | No | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
DiscoveredSiteCode | Set to the discovered site code if autodiscovery was successful, else set to an empty string | No | No | No | Output | Yes | |
Data Type: Text | Comments: |
Perform client action
Performs the specified ConfigMgr client action on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
Action | Performs the specified client action and returns success or failure | Yes | No | No | Input | Yes | |
Data Type: Whole Number | Comments: One of: Machine policy evaluation cycle, User policy evaluation cycle, Discovery data collection cycle, Hardware inventory cycle, Force full hardware inventory cycle, Software inventory cycle, File collection cycle, Software metering usage report cycle, Windows installer source list update cycle, MIF collection cycle, DP maintenance cycle, Software updates deployment evaluation cycle, Software updates scan cycle, Application deployment evaluation cycle | ||||||
Result | Set to true if site assignment was successful | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: |
Perform client actions
Performs the specified ConfigMgr client actions on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
ClientActions | Performs the specified client actions and returns success or failure status | Yes | No | No | Input | Yes | |
Data Type: Whole Number | Comments: One or more of: Machine policy evaluation cycle, User policy evaluation cycle, Discovery data collection cycle, Hardware inventory cycle, Force full hardware inventory cycle, Software inventory cycle, File collection cycle, Software metering usage report cycle, Windows installer source list update cycle, MIF collection cycle, DP maintenance cycle, Software updates deployment evaluation cycle, Software updates scan cycle, Application deployment evaluation cycle | ||||||
Result | Set to true if client actions performed successfully | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ErrorCode | Win32 error code of the first failed client action | No | No | No | Output | Yes | |
Data Type: Whole Number | Comments: | ||||||
FailedActionBitPos | Bit position of the failed client actions if any, else not used | No | No | No | Output | Yes | |
Data Type: Whole Number | Comments: |
Perform local machine policy evaluation
Performs a local machine policy evaluation cycle on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
Result | True if successful, else false | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ErrorCode | Win32 error code or 0 | No | No | No | Output | Yes | |
Data Type: Whole Number | Comments: |
Perform Policy Reset
Resets all ConfigMgr client policies on the local machine
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
PurgePolicy | If true, all existing policy is purged before policy reset is performed | No | Yes | No | Input | Yes | |
Data Type: Boolean | Comments: | ||||||
Result | Set to true if operation was successful | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ErrorString | Set to the error string if any during the operation | No | No | No | Output | Yes | |
Data Type: Text | Comments: |
Trigger Schedule
Triggers a ConfigMgr schedule
Name | Description | Mandatory | Initial Value | Runtime Expression | Type | Conditional | |
---|---|---|---|---|---|---|---|
ScheduleID | GUID of the schedule to be triggered | Yes | No | No | Input | Yes | |
Data Type: Text | Comments: | ||||||
Result | Set to true if operation was successful | No | Yes | No | Output | Yes | |
Data Type: Boolean | Comments: | ||||||
ErrorString | Set to the error string if any during the operation | No | No | No | Output | Yes | |
Data Type: Text | Comments: |
Comments
0 comments
Please sign in to leave a comment.