-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScript Runner Check.amp
43 lines (43 loc) · 13 KB
/
Script Runner Check.amp
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
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Policy ID="0f17a2d1-5d8b-4e84-a07f-b27738073490" Name="Script Runner Check" Description="Q2hlY2sgU2NyaXB0UnVubmVyIFZlcnNpb24=" Version="2.10.0.19" RemoteCategory="0" ExecutionType="Local" MinimumPSVersionRequired="0.0.0">
<Object ID="{1bccc69e-22bf-414c-bc00-8fbabd02e9bd}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="<xml><Parameters><Parameter ParameterName="script_runner_path" Label="Script Runner Pfad" ParameterType="string" Value="C:\Program Files (x86)\Advanced Monitoring Agent\ScriptRunner\Scriptrunner.exe" /><Parameter ParameterName="runner_version" Label="Script Runner Version" ParameterType="string" Value="2.18.0.25" /></Parameters></xml>" />
<LinkManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolicyExecutor">
<hashset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" />
</LinkManager>
<Diagnostics OriginalVersion="2.17.1.8" />
<Activity mc:Ignorable="sads sap" x:Class="Policy Builder" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="clr-namespace:PolicyExecutor;assembly=PolicyExecutionEngine" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="PolicyGUID" Type="InArgument(x:String)" />
</x:Members>
<sap:VirtualizedContainerService.HintSize>504,745</sap:VirtualizedContainerService.HintSize>
<mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
<p:PolicySequence DisplayName="Policy Builder" sap:VirtualizedContainerService.HintSize="504,745" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
<p:PolicySequence.Activities>
<p:RunPowerShellScript AssemblyName="PolicyExecutionEngine, Version=2.17.1.8, Culture=neutral, PublicKeyToken=null" DisplayName="Run PowerShell Script" sap:VirtualizedContainerService.HintSize="468,522" Moniker="11829dff-d77e-4fa9-9a42-8cd6a1c4ce68" OutPut_64="[RunPowerShellScript_OutPut_64]" Result="[RunPowerShellScript_Result]" ResultString="[RunPowerShellScript_ResultString]" Results_x64="[RunPowerShellScript_Results_x64]" RunAsCurrentLoggedOnUser="False" ScriptExecutionMethod="ExecuteDebug" TypeName="RunPowerShellScript" genArgEvent="83f16e3c-d330-48c6-adb8-eb3ddf8b2ff4" m_bTextLinkChange="False" script="PAAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjAA0ACgAjACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgAEgAZQByAGEAdQBzAGcAZQBiAGUAcgA6ACAAVwBhAGwAbABtAGUAeQBlAHIAIAAmACAAVwBhAGwAbABtAGUAeQBlAHIAIABHAGIAUgAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAVwBlAGIAcwBpAHQAZQA6ACAAaAB0AHQAcABzADoALwAvAHcAdwB3AC4AYwBvAHMAdwBhAC4AZABlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIABUAGUAbABlAGYAbwBuADoAIAAwADUAOQAyADEALQAzADAAOAAzADcANQAzACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgAEUALQBNAGEAaQBsADoAIABpAG4AZgBvAEAAYwBvAHMAdwBhAC4AZABlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjAD4ADQAKADwAIwANAAoAcABhAHIAYQBtACgADQAKACAAIAAgACAAJAByAHUAbgBuAGUAcgBfAHYAZQByAHMAaQBvAG4AIAA9ACIAIgAsAA0ACgAgACAAIAAgACQAcwBjAHIAaQBwAHQAXwByAHUAbgBuAGUAcgBfAHAAYQB0AGgAIAA9ACIAIgANAAoAKQANAAoADQAKAA0ACgBXAHIAaQB0AGUALQBIAG8AcwB0ACAAIgBQAGEAcgBhAG0AZQB0AGUAcgAgAFYAZQByAHMAaQBvAG4AOgAgACQAcgB1AG4AbgBl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AGUAIAA9ACAAMgAwADAAMQANAAoAIAAgACAAIAAkAHIAZQBzAHUAbAB0ACAAPQAgADEADQAKACAAIAAgACAAJABiAHAAYQBsAGUAcgB0ACAAPQAgADEADQAKACAAIAAgACAAJAByAGUAcwB1AGwAdABzAHQAcgBpAG4AZwAgAD0AIAAiAEYAZQBoAGwAZQByACIADQAKAH0ADQAKAA0ACgBlAHgAaQB0ACAAJABlAHgAaQB0AGMAbwBkAGUA">
<p:RunPowerShellScript.InArgs>
<p:InArg Item="{x:Null}" ItemProp="{x:Null}" x:Key="runner_version" ArgType="string" DisplayArg="Input Parameters.Script Runner Version" DisplayName="runner_version" Name="runner_version" isRequired="False">
<p:InArg.Arg>
<InArgument x:TypeArguments="x:Object">[runner_version]</InArgument>
</p:InArg.Arg>
</p:InArg>
<p:InArg Item="{x:Null}" ItemProp="{x:Null}" x:Key="script_runner_path" ArgType="string" DisplayArg="Input Parameters.Script Runner Pfad" DisplayName="script_runner_path" Name="script_runner_path" isRequired="False">
<p:InArg.Arg>
<InArgument x:TypeArguments="x:Object">[script_runner_path]</InArgument>
</p:InArg.Arg>
</p:InArg>
</p:RunPowerShellScript.InArgs>
<p:RunPowerShellScript.OutArgs>
<scg:Dictionary x:TypeArguments="x:String, p:OutArg" />
</p:RunPowerShellScript.OutArgs>
</p:RunPowerShellScript>
</p:PolicySequence.Activities>
<p:PolicySequence.Variables>
<Variable x:TypeArguments="x:String" Name="RunPowerShellScript_OutPut_64" />
<Variable x:TypeArguments="x:Double" Name="RunPowerShellScript_Result" />
<Variable x:TypeArguments="x:String" Name="RunPowerShellScript_ResultString" />
<Variable x:TypeArguments="scg:IEnumerable(x:Object)" Name="RunPowerShellScript_Results_x64" />
<Variable x:TypeArguments="x:String" Default="C:\Program Files (x86)\Advanced Monitoring Agent\ScriptRunner\Scriptrunner.exe" Name="script_runner_path" />
<Variable x:TypeArguments="x:String" Name="runner_version" />
</p:PolicySequence.Variables>
</p:PolicySequence>
</Activity>
</Policy>