Create Configuration Manager Control Activity

CreateAutomatedControlActivity (ConsoleTask)

Creates Configuration Manager Control Activity Instance

Element properties:

TargetMicrosoft.SystemCenter.ConfigurationManager.ControlActivityProjection
Application
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask Target="Microsoft.SystemCenter.ConfigurationManager.ControlActivityProjection" ID="CreateAutomatedControlActivity" Accessibility="Public" RequireOutput="false">
<Assembly>SMConsole!SdkDataAccessAssembly</Assembly>
<Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
<Parameters>
<Argument Name="Assembly">Microsoft.EnterpriseManagement.ServiceManager.Application.Common</Argument>
<Argument Name="Type">Microsoft.EnterpriseManagement.GenericForm.NewInstanceTask</Argument>
<Argument>$MPElement[Name='Microsoft.SystemCenter.ConfigurationManager.ControlActivityProjection']$</Argument>
<Argument Name="CustomCreateTask">Microsoft.SystemCenter.ConfigurationManager.ControlActivity</Argument>
</Parameters>
</ConsoleTask>