Community.PowerShellMonitoring.PageSet.Template.PowerShellTask.AgentTask (UIPageSet)

Element properties:

Type DefinitionCommunity.PowerShellMonitoring.Template.PowerShellTask.AgentTask

Source Code:

<UIPageSet ID="Community.PowerShellMonitoring.PageSet.Template.PowerShellTask.AgentTask" TypeDefinitionID="Community.PowerShellMonitoring.Template.PowerShellTask.AgentTask">
<UIPageReferences>
<UIPageReference ID="Community.PowerShellMonitoring.PageSet.Template.PowerShellTask.AgentTask.General" PageID="MST!Microsoft.SystemCenter.TaskTemplates.TaskGeneralPage" Usage="CreationOnly">
<InputParameters/>
<InputTransform/>
</UIPageReference>
<UIPageReference ID="Community.PowerShellMonitoring.PageSet.Template.PowerShellTask.AgentTask.Script" PageID="Windows!Microsoft.Windows.ScriptPage" Usage="CreationOnly">
<InputParameters>
<ScriptName>MyScript.ps1</ScriptName>
<ScriptBody><Script># Any Arguments specified will be sent to the script as a single string.
# If you need to send multiple values, delimit them with a space, semicolon or other seperator and then use split.
param([string]$Arguments)

</Script></ScriptBody>
</InputParameters>
<InputTransform/>
</UIPageReference>
</UIPageReferences>
<OutputTransform>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="/">
<xsl:element name="Configuration">
<xsl:copy-of select="/ID"/>
<xsl:copy-of select="/Name"/>
<xsl:copy-of select="/Description"/>
<xsl:copy-of select="/Target"/>
<xsl:copy-of select="/Category"/>
<xsl:copy-of select="/LocaleId"/>
<xsl:copy-of select="/ScriptName"/>
<xsl:copy-of select="/Arguments"/>
<xsl:copy-of select="/ScriptBody"/>
<xsl:copy-of select="/TimeoutSeconds"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
</OutputTransform>
</UIPageSet>