Set PRO: Critical/Warning, Manual

HewlettPackard.Servers.ProLiant.SNMPPRO.SetCritialWarningWithManualImplementTask (ConsoleTask)

Set PRO for Critical and Warning Severity Level without Auto Implementation at the Host Group of the Host.

Element properties:

TargetHewlettPackard.Servers.ProLiant.SNMPPRO.ManagedHost
Application\%windir\%\system32\WindowsPowerShell\v1.0\powershell.exe
WorkingDirectory
isRequireOutputTrue
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="HewlettPackard.Servers.ProLiant.SNMPPRO.SetCritialWarningWithManualImplementTask" Accessibility="Public" Enabled="true" Target="HewlettPackard.Servers.ProLiant.SNMPPRO.ManagedHost" RequireOutput="true" Category="MonitoringObject">
<Application>%windir%\system32\WindowsPowerShell\v1.0\powershell.exe</Application>
<Parameters>
<Parameter>-command "&amp; {add-pssnapin Microsoft.SystemCenter.VirtualMachineManager; get-vmmserver $Target/Property[Type="PROLibrary!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Base"]/VMMServer$ | out-null; (get-vmhost -computername $Target/Property[Type="PROLibrary!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Base"]/Name$).VMHostGroup | set-VMHostGroup -PROAutomationLevel 0 -PROMonitoringLevel 2 &#x2013;InheritPROSettings $False | select Name,PROAutomationLevel,PROMonitoringLevel | fl}"</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>