Pesquisa do Powershell Parametrizada de DNS do Microsoft Windows Server

Microsoft.Windows.DNSServer.2016.ParametrizedPowershellProbe.PA (ProbeActionModuleType)

Ação de Pesquisa que fornece três parâmetros substituíveis e os transmite para o script do PowerShell.

Element properties:

TypeProbeActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.CommandOutput

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction Microsoft.Windows.DNSServer.2016.CommonPowershellProbe.PA Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Parameter1string$Config/Parameter1$Parameter1Primeiro parâmetro para tarefa remota
Parameter2string$Config/Parameter2$Parameter2Segundo parâmetro para tarefa remota
Parameter3string$Config/Parameter3$Parameter3Terceiro parâmetro para tarefa remota
TimeoutSecondsint$Config/TimeoutSeconds$TimeoutSecondsTempo limite de fluxo de trabalho

Source Code:

<ProbeActionModuleType ID="Microsoft.Windows.DNSServer.2016.ParametrizedPowershellProbe.PA" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptBody" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PrincipalName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Parameter1" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Parameter2" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Parameter3" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Parameter1" Selector="$Config/Parameter1$" ParameterType="string"/>
<OverrideableParameter ID="Parameter2" Selector="$Config/Parameter2$" ParameterType="string"/>
<OverrideableParameter ID="Parameter3" Selector="$Config/Parameter3$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="PA" TypeID="Microsoft.Windows.DNSServer.2016.CommonPowershellProbe.PA">
<ScriptName>$Config/ScriptName$</ScriptName>
<ScriptBody><Script>$Config/ScriptBody$</Script></ScriptBody>
<Arguments>"-PrincipalName $Config/PrincipalName$ -Parameter1 '$Config/Parameter1$' -Parameter2 '$Config/Parameter2$' -Parameter3 '$Config/Parameter3$'"</Arguments>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="PA"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.CommandOutput</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>