Create Control Objective

CreateControlObjective (ConsoleTask)

Creates Control Objective Instance

Element properties:

TargetSystem.Compliance.ControlObjectiveProjection
Application
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask Target="System.Compliance.ControlObjectiveProjection" ID="CreateControlObjective" 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='System.Compliance.ControlObjectiveProjection']$</Argument>
<Argument Name="CustomCreateTask">System.Compliance.ControlObjective</Argument>
</Parameters>
</ConsoleTask>