diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/AssemblyInfo.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/AssemblyInfo.cs
new file mode 100644
index 0000000000..883e8e324a
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/AssemblyInfo.cs
@@ -0,0 +1,18 @@
+using System.Reflection;
+using System.Security.Permissions;
+using System.Runtime.CompilerServices;
+using System.Runtime.ConstrainedExecution;
+using System.Diagnostics.CodeAnalysis;
+
+
+[assembly: AssemblyVersion("3.0.0.0")]
+[assembly: AssemblyFileVersionAttribute("3.0.0.0")]
+[assembly: System.Runtime.InteropServices.ComVisible(false)]
+
+[assembly: AssemblyConfiguration("")]
+[assembly: ReliabilityContractAttribute(Consistency.MayCorruptAppDomain, Cer.MayFail)]
+[assembly: AssemblyTitle("Microsoft.PowerShell.Diagnostics.Activities")]
+[assembly: AssemblyDescription("Microsoft.PowerShell.Diagnostics.Activities")]
+
+[module: SuppressMessage("Microsoft.Design", "CA1014:MarkAssembliesWithClsCompliant")]
+
diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ExportCounterActivity.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ExportCounterActivity.cs
new file mode 100644
index 0000000000..5ccd26f627
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ExportCounterActivity.cs
@@ -0,0 +1,130 @@
+//
+// Copyright (C) Microsoft. All rights reserved.
+//
+using Microsoft.PowerShell.Activities;
+using System.Management.Automation;
+using System.Activities;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+
+namespace Microsoft.PowerShell.Diagnostics.Activities
+{
+ ///
+ /// Activity to invoke the Microsoft.PowerShell.Diagnostics\Export-Counter command in a Workflow.
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
+ public sealed class ExportCounter : PSRemotingActivity
+ {
+ ///
+ /// Gets the display name of the command invoked by this activity.
+ ///
+ public ExportCounter()
+ {
+ this.DisplayName = "Export-Counter";
+ }
+
+ ///
+ /// Gets the fully qualified name of the command invoked by this activity.
+ ///
+ public override string PSCommandName { get { return "Microsoft.PowerShell.Diagnostics\\Export-Counter"; } }
+
+ // Arguments
+
+ ///
+ /// Provides access to the Path parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Path { get; set; }
+
+ ///
+ /// Provides access to the FileFormat parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument FileFormat { get; set; }
+
+ ///
+ /// Provides access to the MaxSize parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument MaxSize { get; set; }
+
+ ///
+ /// Provides access to the InputObject parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument InputObject { get; set; }
+
+ ///
+ /// Provides access to the Force parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Force { get; set; }
+
+ ///
+ /// Provides access to the Circular parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Circular { get; set; }
+
+
+ // Module defining this command
+
+
+ // Optional custom code for this activity
+
+
+ ///
+ /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
+ ///
+ /// The NativeActivityContext for the currently running activity.
+ /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
+ protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
+ {
+ System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create();
+ System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName);
+
+ // Initialize the arguments
+
+ if(Path.Expression != null)
+ {
+ targetCommand.AddParameter("Path", Path.Get(context));
+ }
+
+ if(FileFormat.Expression != null)
+ {
+ targetCommand.AddParameter("FileFormat", FileFormat.Get(context));
+ }
+
+ if(MaxSize.Expression != null)
+ {
+ targetCommand.AddParameter("MaxSize", MaxSize.Get(context));
+ }
+
+ if(InputObject.Expression != null)
+ {
+ targetCommand.AddParameter("InputObject", InputObject.Get(context));
+ }
+
+ if(Force.Expression != null)
+ {
+ targetCommand.AddParameter("Force", Force.Get(context));
+ }
+
+ if(Circular.Expression != null)
+ {
+ targetCommand.AddParameter("Circular", Circular.Get(context));
+ }
+
+
+ return new ActivityImplementationContext() { PowerShellInstance = invoker };
+ }
+ }
+}
diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetCounterActivity.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetCounterActivity.cs
new file mode 100644
index 0000000000..601a8b149f
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetCounterActivity.cs
@@ -0,0 +1,128 @@
+//
+// Copyright (C) Microsoft. All rights reserved.
+//
+using Microsoft.PowerShell.Activities;
+using System.Management.Automation;
+using System.Activities;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+
+namespace Microsoft.PowerShell.Diagnostics.Activities
+{
+ ///
+ /// Activity to invoke the Microsoft.PowerShell.Diagnostics\Get-Counter command in a Workflow.
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
+ public sealed class GetCounter : PSRemotingActivity
+ {
+ ///
+ /// Gets the display name of the command invoked by this activity.
+ ///
+ public GetCounter()
+ {
+ this.DisplayName = "Get-Counter";
+ }
+
+ ///
+ /// Gets the fully qualified name of the command invoked by this activity.
+ ///
+ public override string PSCommandName { get { return "Microsoft.PowerShell.Diagnostics\\Get-Counter"; } }
+
+ // Arguments
+
+ ///
+ /// Provides access to the ListSet parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ListSet { get; set; }
+
+ ///
+ /// Provides access to the Counter parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Counter { get; set; }
+
+ ///
+ /// Provides access to the SampleInterval parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument SampleInterval { get; set; }
+
+ ///
+ /// Provides access to the MaxSamples parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument MaxSamples { get; set; }
+
+ ///
+ /// Provides access to the Continuous parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Continuous { get; set; }
+
+ ///
+ /// Declares that this activity supports its own remoting.
+ ///
+ protected override bool SupportsCustomRemoting { get { return true; } }
+
+
+ // Module defining this command
+
+
+ // Optional custom code for this activity
+
+
+ ///
+ /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
+ ///
+ /// The NativeActivityContext for the currently running activity.
+ /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
+ protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
+ {
+ System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create();
+ System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName);
+
+ // Initialize the arguments
+
+ if(ListSet.Expression != null)
+ {
+ targetCommand.AddParameter("ListSet", ListSet.Get(context));
+ }
+
+ if(Counter.Expression != null)
+ {
+ targetCommand.AddParameter("Counter", Counter.Get(context));
+ }
+
+ if(SampleInterval.Expression != null)
+ {
+ targetCommand.AddParameter("SampleInterval", SampleInterval.Get(context));
+ }
+
+ if(MaxSamples.Expression != null)
+ {
+ targetCommand.AddParameter("MaxSamples", MaxSamples.Get(context));
+ }
+
+ if(Continuous.Expression != null)
+ {
+ targetCommand.AddParameter("Continuous", Continuous.Get(context));
+ }
+
+ if(GetIsComputerNameSpecified(context) && (PSRemotingBehavior.Get(context) == RemotingBehavior.Custom))
+ {
+ targetCommand.AddParameter("ComputerName", PSComputerName.Get(context));
+ }
+
+
+ return new ActivityImplementationContext() { PowerShellInstance = invoker };
+ }
+ }
+}
diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetWinEventActivity.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetWinEventActivity.cs
new file mode 100644
index 0000000000..d33076e689
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/GetWinEventActivity.cs
@@ -0,0 +1,212 @@
+//
+// Copyright (C) Microsoft. All rights reserved.
+//
+using Microsoft.PowerShell.Activities;
+using System.Management.Automation;
+using System.Activities;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+
+namespace Microsoft.PowerShell.Diagnostics.Activities
+{
+ ///
+ /// Activity to invoke the Microsoft.PowerShell.Diagnostics\Get-WinEvent command in a Workflow.
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
+ public sealed class GetWinEvent : PSRemotingActivity
+ {
+ ///
+ /// Gets the display name of the command invoked by this activity.
+ ///
+ public GetWinEvent()
+ {
+ this.DisplayName = "Get-WinEvent";
+ }
+
+ ///
+ /// Gets the fully qualified name of the command invoked by this activity.
+ ///
+ public override string PSCommandName { get { return "Microsoft.PowerShell.Diagnostics\\Get-WinEvent"; } }
+
+ // Arguments
+
+ ///
+ /// Provides access to the ListLog parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ListLog { get; set; }
+
+ ///
+ /// Provides access to the LogName parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument LogName { get; set; }
+
+ ///
+ /// Provides access to the ListProvider parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ListProvider { get; set; }
+
+ ///
+ /// Provides access to the ProviderName parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ProviderName { get; set; }
+
+ ///
+ /// Provides access to the Path parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Path { get; set; }
+
+ ///
+ /// Provides access to the MaxEvents parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument MaxEvents { get; set; }
+
+ ///
+ /// Provides access to the Credential parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Credential { get; set; }
+
+ ///
+ /// Provides access to the FilterXPath parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument FilterXPath { get; set; }
+
+ ///
+ /// Provides access to the FilterXml parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument FilterXml { get; set; }
+
+ ///
+ /// Provides access to the FilterHashtable parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument FilterHashtable { get; set; }
+
+ ///
+ /// Provides access to the Force parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Force { get; set; }
+
+ ///
+ /// Provides access to the Oldest parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Oldest { get; set; }
+
+ ///
+ /// Declares that this activity supports its own remoting.
+ ///
+ protected override bool SupportsCustomRemoting { get { return true; } }
+
+
+ // Module defining this command
+
+
+ // Optional custom code for this activity
+
+
+ ///
+ /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
+ ///
+ /// The NativeActivityContext for the currently running activity.
+ /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
+ protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
+ {
+ System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create();
+ System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName);
+
+ // Initialize the arguments
+
+ if(ListLog.Expression != null)
+ {
+ targetCommand.AddParameter("ListLog", ListLog.Get(context));
+ }
+
+ if(LogName.Expression != null)
+ {
+ targetCommand.AddParameter("LogName", LogName.Get(context));
+ }
+
+ if(ListProvider.Expression != null)
+ {
+ targetCommand.AddParameter("ListProvider", ListProvider.Get(context));
+ }
+
+ if(ProviderName.Expression != null)
+ {
+ targetCommand.AddParameter("ProviderName", ProviderName.Get(context));
+ }
+
+ if(Path.Expression != null)
+ {
+ targetCommand.AddParameter("Path", Path.Get(context));
+ }
+
+ if(MaxEvents.Expression != null)
+ {
+ targetCommand.AddParameter("MaxEvents", MaxEvents.Get(context));
+ }
+
+ if(Credential.Expression != null)
+ {
+ targetCommand.AddParameter("Credential", Credential.Get(context));
+ }
+
+ if(FilterXPath.Expression != null)
+ {
+ targetCommand.AddParameter("FilterXPath", FilterXPath.Get(context));
+ }
+
+ if(FilterXml.Expression != null)
+ {
+ targetCommand.AddParameter("FilterXml", FilterXml.Get(context));
+ }
+
+ if(FilterHashtable.Expression != null)
+ {
+ targetCommand.AddParameter("FilterHashtable", FilterHashtable.Get(context));
+ }
+
+ if(Force.Expression != null)
+ {
+ targetCommand.AddParameter("Force", Force.Get(context));
+ }
+
+ if(Oldest.Expression != null)
+ {
+ targetCommand.AddParameter("Oldest", Oldest.Get(context));
+ }
+
+ if(GetIsComputerNameSpecified(context) && (PSRemotingBehavior.Get(context) == RemotingBehavior.Custom))
+ {
+ targetCommand.AddParameter("ComputerName", PSComputerName.Get(context));
+ }
+
+
+ return new ActivityImplementationContext() { PowerShellInstance = invoker };
+ }
+ }
+}
diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ImportCounterActivity.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ImportCounterActivity.cs
new file mode 100644
index 0000000000..cbb6cf6c22
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/ImportCounterActivity.cs
@@ -0,0 +1,142 @@
+//
+// Copyright (C) Microsoft. All rights reserved.
+//
+using Microsoft.PowerShell.Activities;
+using System.Management.Automation;
+using System.Activities;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+
+namespace Microsoft.PowerShell.Diagnostics.Activities
+{
+ ///
+ /// Activity to invoke the Microsoft.PowerShell.Diagnostics\Import-Counter command in a Workflow.
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
+ public sealed class ImportCounter : PSRemotingActivity
+ {
+ ///
+ /// Gets the display name of the command invoked by this activity.
+ ///
+ public ImportCounter()
+ {
+ this.DisplayName = "Import-Counter";
+ }
+
+ ///
+ /// Gets the fully qualified name of the command invoked by this activity.
+ ///
+ public override string PSCommandName { get { return "Microsoft.PowerShell.Diagnostics\\Import-Counter"; } }
+
+ // Arguments
+
+ ///
+ /// Provides access to the Path parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Path { get; set; }
+
+ ///
+ /// Provides access to the ListSet parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ListSet { get; set; }
+
+ ///
+ /// Provides access to the StartTime parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument StartTime { get; set; }
+
+ ///
+ /// Provides access to the EndTime parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument EndTime { get; set; }
+
+ ///
+ /// Provides access to the Counter parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Counter { get; set; }
+
+ ///
+ /// Provides access to the Summary parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Summary { get; set; }
+
+ ///
+ /// Provides access to the MaxSamples parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument MaxSamples { get; set; }
+
+
+ // Module defining this command
+
+
+ // Optional custom code for this activity
+
+
+ ///
+ /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
+ ///
+ /// The NativeActivityContext for the currently running activity.
+ /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
+ protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
+ {
+ System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create();
+ System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName);
+
+ // Initialize the arguments
+
+ if(Path.Expression != null)
+ {
+ targetCommand.AddParameter("Path", Path.Get(context));
+ }
+
+ if(ListSet.Expression != null)
+ {
+ targetCommand.AddParameter("ListSet", ListSet.Get(context));
+ }
+
+ if(StartTime.Expression != null)
+ {
+ targetCommand.AddParameter("StartTime", StartTime.Get(context));
+ }
+
+ if(EndTime.Expression != null)
+ {
+ targetCommand.AddParameter("EndTime", EndTime.Get(context));
+ }
+
+ if(Counter.Expression != null)
+ {
+ targetCommand.AddParameter("Counter", Counter.Get(context));
+ }
+
+ if(Summary.Expression != null)
+ {
+ targetCommand.AddParameter("Summary", Summary.Get(context));
+ }
+
+ if(MaxSamples.Expression != null)
+ {
+ targetCommand.AddParameter("MaxSamples", MaxSamples.Get(context));
+ }
+
+
+ return new ActivityImplementationContext() { PowerShellInstance = invoker };
+ }
+ }
+}
diff --git a/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/NewWinEventActivity.cs b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/NewWinEventActivity.cs
new file mode 100644
index 0000000000..f494000e4b
--- /dev/null
+++ b/src/Microsoft.PowerShell.Diagnostics.Activities/Generated/NewWinEventActivity.cs
@@ -0,0 +1,106 @@
+//
+// Copyright (C) Microsoft. All rights reserved.
+//
+using Microsoft.PowerShell.Activities;
+using System.Management.Automation;
+using System.Activities;
+using System.Collections.Generic;
+using System.ComponentModel;
+
+
+namespace Microsoft.PowerShell.Diagnostics.Activities
+{
+ ///
+ /// Activity to invoke the Microsoft.PowerShell.Diagnostics\New-WinEvent command in a Workflow.
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
+ public sealed class NewWinEvent : PSRemotingActivity
+ {
+ ///
+ /// Gets the display name of the command invoked by this activity.
+ ///
+ public NewWinEvent()
+ {
+ this.DisplayName = "New-WinEvent";
+ }
+
+ ///
+ /// Gets the fully qualified name of the command invoked by this activity.
+ ///
+ public override string PSCommandName { get { return "Microsoft.PowerShell.Diagnostics\\New-WinEvent"; } }
+
+ // Arguments
+
+ ///
+ /// Provides access to the ProviderName parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument ProviderName { get; set; }
+
+ ///
+ /// Provides access to the WinEventId parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument WinEventId { get; set; }
+
+ ///
+ /// Provides access to the Version parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Version { get; set; }
+
+ ///
+ /// Provides access to the Payload parameter.
+ ///
+ [ParameterSpecificCategory]
+ [DefaultValue(null)]
+ public InArgument Payload { get; set; }
+
+
+ // Module defining this command
+
+
+ // Optional custom code for this activity
+
+
+ ///
+ /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run.
+ ///
+ /// The NativeActivityContext for the currently running activity.
+ /// A populated instance of Sytem.Management.Automation.PowerShell
+ /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned.
+ protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context)
+ {
+ System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create();
+ System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName);
+
+ // Initialize the arguments
+
+ if(ProviderName.Expression != null)
+ {
+ targetCommand.AddParameter("ProviderName", ProviderName.Get(context));
+ }
+
+ if(WinEventId.Expression != null)
+ {
+ targetCommand.AddParameter("Id", WinEventId.Get(context));
+ }
+
+ if(Version.Expression != null)
+ {
+ targetCommand.AddParameter("Version", Version.Get(context));
+ }
+
+ if(Payload.Expression != null)
+ {
+ targetCommand.AddParameter("Payload", Payload.Get(context));
+ }
+
+
+ return new ActivityImplementationContext() { PowerShellInstance = invoker };
+ }
+ }
+}