-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRemove Simple Ping Write Action.mpx
More file actions
67 lines (65 loc) · 2.88 KB
/
Remove Simple Ping Write Action.mpx
File metadata and controls
67 lines (65 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<TypeDefinitions>
<ModuleTypes>
<WriteActionModuleType ID="Simple.Ping.RemoveSimplePing.WriteAction" Accessibility="Public" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="DisplayName" type="xsd:string" />
<xsd:element minOccurs="1" name="Address" type="xsd:string" />
<xsd:element minOccurs="1" name="ExpectedStatus" type="xsd:string" />
<xsd:element minOccurs="1" name="ManagementServer" type="xsd:string" />
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ManagementServer" Selector="$Config/ManagementServer$" ParameterType="string" />
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="Script" TypeID="Windows!Microsoft.Windows.PowerShellWriteAction">
<ScriptName>Remove-SimplePing.ps1</ScriptName>
<ScriptBody>$IncludeFileContent/Remove-SimplePing.ps1$</ScriptBody>
<Parameters>
<Parameter>
<Name>DisplayName</Name>
<Value>$Config/DisplayName$</Value>
</Parameter>
<Parameter>
<Name>Address</Name>
<Value>$Config/Address$</Value>
</Parameter>
<Parameter>
<Name>ExpectedStatus</Name>
<Value>$Config/ExpectedStatus$</Value>
</Parameter>
<Parameter>
<Name>ManagementServer</Name>
<Value>$Config/ManagementServer$</Value>
</Parameter>
</Parameters>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Script" />
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Windows!Microsoft.Windows.SerializedObjectData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>
</ModuleTypes>
</TypeDefinitions>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="Simple.Ping.RemoveSimplePing.WriteAction">
<Name>Remove Simple Ping </Name>
<Description>Created Simple Ping</Description>
</DisplayString>
<DisplayString ElementID="Simple.Ping.RemoveSimplePing.WriteAction" SubElementID="ManagementServer">
<Name>Management Server</Name>
<Description>Management Server to run the task on.</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</ManagementPackFragment>