diff --git a/src/Microsoft.PowerShell.Management.Activities/AssemblyInfo.cs b/src/Microsoft.PowerShell.Management.Activities/AssemblyInfo.cs
deleted file mode 100644
index a549bb415b3..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/AssemblyInfo.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-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.Management.Activities")]
-[assembly: AssemblyDescription("Microsoft.PowerShell.Management.Activities")]
-
-[module: SuppressMessage("Microsoft.Design", "CA1014:MarkAssembliesWithClsCompliant")]
-
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/AddComputerActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/AddComputerActivity.cs
deleted file mode 100644
index bbd5071a0de..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/AddComputerActivity.cs
+++ /dev/null
@@ -1,224 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Add-Computer command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class AddComputer : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public AddComputer()
- {
- this.DisplayName = "Add-Computer";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Add-Computer"; } }
-
- // Arguments
-
- ///
- /// Provides access to the LocalCredential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LocalCredential { get; set; }
-
- ///
- /// Provides access to the UnjoinDomainCredential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument UnjoinDomainCredential { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the DomainName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument DomainName { get; set; }
-
- ///
- /// Provides access to the OUPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument OUPath { get; set; }
-
- ///
- /// Provides access to the Server parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Server { get; set; }
-
- ///
- /// Provides access to the Unsecure parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Unsecure { get; set; }
-
- ///
- /// Provides access to the Options parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Options { get; set; }
-
- ///
- /// Provides access to the WorkgroupName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument WorkgroupName { get; set; }
-
- ///
- /// Provides access to the Restart parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Restart { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the NewName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument NewName { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { 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 System.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(LocalCredential.Expression != null)
- {
- targetCommand.AddParameter("LocalCredential", LocalCredential.Get(context));
- }
-
- if(UnjoinDomainCredential.Expression != null)
- {
- targetCommand.AddParameter("UnjoinDomainCredential", UnjoinDomainCredential.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(DomainName.Expression != null)
- {
- targetCommand.AddParameter("DomainName", DomainName.Get(context));
- }
-
- if(OUPath.Expression != null)
- {
- targetCommand.AddParameter("OUPath", OUPath.Get(context));
- }
-
- if(Server.Expression != null)
- {
- targetCommand.AddParameter("Server", Server.Get(context));
- }
-
- if(Unsecure.Expression != null)
- {
- targetCommand.AddParameter("Unsecure", Unsecure.Get(context));
- }
-
- if(Options.Expression != null)
- {
- targetCommand.AddParameter("Options", Options.Get(context));
- }
-
- if(WorkgroupName.Expression != null)
- {
- targetCommand.AddParameter("WorkgroupName", WorkgroupName.Get(context));
- }
-
- if(Restart.Expression != null)
- {
- targetCommand.AddParameter("Restart", Restart.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(NewName.Expression != null)
- {
- targetCommand.AddParameter("NewName", NewName.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.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.Management.Activities/Generated/AddContentActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/AddContentActivity.cs
deleted file mode 100644
index c3d5c4044ea..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/AddContentActivity.cs
+++ /dev/null
@@ -1,202 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Add-Content command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class AddContent : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public AddContent()
- {
- this.DisplayName = "Add-Content";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Add-Content"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Value parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Value { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the NoNewline parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument NoNewline { get; set; }
-
- ///
- /// Provides access to the Encoding parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Encoding { get; set; }
-
- ///
- /// Provides access to the Stream parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Stream { 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 System.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(Value.Expression != null)
- {
- targetCommand.AddParameter("Value", Value.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Path.Expression != null)
- {
- targetCommand.AddParameter("Path", Path.Get(context));
- }
-
- if(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(NoNewline.Expression != null)
- {
- targetCommand.AddParameter("NoNewline", NoNewline.Get(context));
- }
-
- if(Encoding.Expression != null)
- {
- targetCommand.AddParameter("Encoding", Encoding.Get(context));
- }
-
- if(Stream.Expression != null)
- {
- targetCommand.AddParameter("Stream", Stream.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/CheckpointComputerActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/CheckpointComputerActivity.cs
deleted file mode 100644
index 47e8591d9ba..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/CheckpointComputerActivity.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Checkpoint-Computer command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class CheckpointComputer : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public CheckpointComputer()
- {
- this.DisplayName = "Checkpoint-Computer";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Checkpoint-Computer"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Description parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Description { get; set; }
-
- ///
- /// Provides access to the RestorePointType parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument RestorePointType { 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 System.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(Description.Expression != null)
- {
- targetCommand.AddParameter("Description", Description.Get(context));
- }
-
- if(RestorePointType.Expression != null)
- {
- targetCommand.AddParameter("RestorePointType", RestorePointType.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearContentActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ClearContentActivity.cs
deleted file mode 100644
index bad5c777eaf..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearContentActivity.cs
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Clear-Content command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ClearContent : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ClearContent()
- {
- this.DisplayName = "Clear-Content";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Clear-Content"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the Stream parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Stream { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(Stream.Expression != null)
- {
- targetCommand.AddParameter("Stream", Stream.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearEventLogActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ClearEventLogActivity.cs
deleted file mode 100644
index 39f487a5f46..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearEventLogActivity.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Clear-EventLog command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ClearEventLog : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ClearEventLog()
- {
- this.DisplayName = "Clear-EventLog";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Clear-EventLog"; } }
-
- // Arguments
-
- ///
- /// Provides access to the LogName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LogName { 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 System.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(LogName.Expression != null)
- {
- targetCommand.AddParameter("LogName", LogName.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.Management.Activities/Generated/ClearItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ClearItemActivity.cs
deleted file mode 100644
index c97ca5e7168..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearItemActivity.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Clear-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ClearItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ClearItem()
- {
- this.DisplayName = "Clear-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Clear-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearItemPropertyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ClearItemPropertyActivity.cs
deleted file mode 100644
index ed996c0b3d6..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearItemPropertyActivity.cs
+++ /dev/null
@@ -1,166 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Clear-ItemProperty command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ClearItemProperty : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ClearItemProperty()
- {
- this.DisplayName = "Clear-ItemProperty";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Clear-ItemProperty"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearRecycleBinActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ClearRecycleBinActivity.cs
deleted file mode 100644
index 74cc2170a0d..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ClearRecycleBinActivity.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Clear-RecycleBin command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ClearRecycleBin : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ClearRecycleBin()
- {
- this.DisplayName = "Clear-RecycleBin";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Clear-RecycleBin"; } }
-
- // Arguments
-
- ///
- /// Provides access to the DriveLetter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument DriveLetter { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { 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 System.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(DriveLetter.Expression != null)
- {
- targetCommand.AddParameter("DriveLetter", DriveLetter.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/ConvertPathActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/ConvertPathActivity.cs
deleted file mode 100644
index 599ba2e2bf5..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/ConvertPathActivity.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Convert-Path command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ConvertPath : PSActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ConvertPath()
- {
- this.DisplayName = "Convert-Path";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Convert-Path"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemActivity.cs
deleted file mode 100644
index 8aa621f5a36..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemActivity.cs
+++ /dev/null
@@ -1,214 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Copy-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class CopyItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public CopyItem()
- {
- this.DisplayName = "Copy-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Copy-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Destination parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Destination { get; set; }
-
- ///
- /// Provides access to the Container parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Container { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Recurse parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Recurse { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the FromSession parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument FromSession { get; set; }
-
- ///
- /// Provides access to the ToSession parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ToSession { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Destination.Expression != null)
- {
- targetCommand.AddParameter("Destination", Destination.Get(context));
- }
-
- if(Container.Expression != null)
- {
- targetCommand.AddParameter("Container", Container.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Recurse.Expression != null)
- {
- targetCommand.AddParameter("Recurse", Recurse.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(FromSession.Expression != null)
- {
- targetCommand.AddParameter("FromSession", FromSession.Get(context));
- }
-
- if(ToSession.Expression != null)
- {
- targetCommand.AddParameter("ToSession", ToSession.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemPropertyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemPropertyActivity.cs
deleted file mode 100644
index 16650f2aa9e..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/CopyItemPropertyActivity.cs
+++ /dev/null
@@ -1,178 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Copy-ItemProperty command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class CopyItemProperty : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public CopyItemProperty()
- {
- this.DisplayName = "Copy-ItemProperty";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Copy-ItemProperty"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the Destination parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Destination { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(Destination.Expression != null)
- {
- targetCommand.AddParameter("Destination", Destination.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/DisableComputerRestoreActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/DisableComputerRestoreActivity.cs
deleted file mode 100644
index 41e8962989a..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/DisableComputerRestoreActivity.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Disable-ComputerRestore command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class DisableComputerRestore : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public DisableComputerRestore()
- {
- this.DisplayName = "Disable-ComputerRestore";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Disable-ComputerRestore"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Drive parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Drive { 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 System.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(Drive.Expression != null)
- {
- targetCommand.AddParameter("Drive", Drive.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/EnableComputerRestoreActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/EnableComputerRestoreActivity.cs
deleted file mode 100644
index 8ab8e80cf6c..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/EnableComputerRestoreActivity.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Enable-ComputerRestore command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class EnableComputerRestore : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public EnableComputerRestore()
- {
- this.DisplayName = "Enable-ComputerRestore";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Enable-ComputerRestore"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Drive parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Drive { 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 System.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(Drive.Expression != null)
- {
- targetCommand.AddParameter("Drive", Drive.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetChildItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetChildItemActivity.cs
deleted file mode 100644
index 97d727e63db..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetChildItemActivity.cs
+++ /dev/null
@@ -1,238 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-ChildItem command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetChildItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetChildItem()
- {
- this.DisplayName = "Get-ChildItem";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-ChildItem"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Recurse parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Recurse { get; set; }
-
- ///
- /// Provides access to the Depth parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Depth { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the Attributes parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument> Attributes { get; set; }
-
- ///
- /// Provides access to the Directory parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Directory { get; set; }
-
- ///
- /// Provides access to the File parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument File { get; set; }
-
- ///
- /// Provides access to the Hidden parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Hidden { get; set; }
-
- ///
- /// Provides access to the ReadOnly parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ReadOnly { get; set; }
-
- ///
- /// Provides access to the System parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument System { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Recurse.Expression != null)
- {
- targetCommand.AddParameter("Recurse", Recurse.Get(context));
- }
-
- if(Depth.Expression != null)
- {
- targetCommand.AddParameter("Depth", Depth.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(Attributes.Expression != null)
- {
- targetCommand.AddParameter("Attributes", Attributes.Get(context));
- }
-
- if(Directory.Expression != null)
- {
- targetCommand.AddParameter("Directory", Directory.Get(context));
- }
-
- if(File.Expression != null)
- {
- targetCommand.AddParameter("File", File.Get(context));
- }
-
- if(Hidden.Expression != null)
- {
- targetCommand.AddParameter("Hidden", Hidden.Get(context));
- }
-
- if(ReadOnly.Expression != null)
- {
- targetCommand.AddParameter("ReadOnly", ReadOnly.Get(context));
- }
-
- if(System.Expression != null)
- {
- targetCommand.AddParameter("System", System.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetComputerRestorePointActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetComputerRestorePointActivity.cs
deleted file mode 100644
index 0914d9697b4..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetComputerRestorePointActivity.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-ComputerRestorePoint command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetComputerRestorePoint : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetComputerRestorePoint()
- {
- this.DisplayName = "Get-ComputerRestorePoint";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-ComputerRestorePoint"; } }
-
- // Arguments
-
- ///
- /// Provides access to the RestorePoint parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument RestorePoint { get; set; }
-
- ///
- /// Provides access to the LastStatus parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LastStatus { 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 System.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(RestorePoint.Expression != null)
- {
- targetCommand.AddParameter("RestorePoint", RestorePoint.Get(context));
- }
-
- if(LastStatus.Expression != null)
- {
- targetCommand.AddParameter("LastStatus", LastStatus.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetContentActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetContentActivity.cs
deleted file mode 100644
index ab38745cd64..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetContentActivity.cs
+++ /dev/null
@@ -1,238 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-Content command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetContent : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetContent()
- {
- this.DisplayName = "Get-Content";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-Content"; } }
-
- // Arguments
-
- ///
- /// Provides access to the ReadCount parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ReadCount { get; set; }
-
- ///
- /// Provides access to the TotalCount parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument TotalCount { get; set; }
-
- ///
- /// Provides access to the Tail parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Tail { get; set; }
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the Delimiter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Delimiter { get; set; }
-
- ///
- /// Provides access to the Wait parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Wait { get; set; }
-
- ///
- /// Provides access to the Raw parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Raw { get; set; }
-
- ///
- /// Provides access to the Encoding parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Encoding { get; set; }
-
- ///
- /// Provides access to the Stream parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Stream { 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 System.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(ReadCount.Expression != null)
- {
- targetCommand.AddParameter("ReadCount", ReadCount.Get(context));
- }
-
- if(TotalCount.Expression != null)
- {
- targetCommand.AddParameter("TotalCount", TotalCount.Get(context));
- }
-
- if(Tail.Expression != null)
- {
- targetCommand.AddParameter("Tail", Tail.Get(context));
- }
-
- if(Path.Expression != null)
- {
- targetCommand.AddParameter("Path", Path.Get(context));
- }
-
- if(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(Delimiter.Expression != null)
- {
- targetCommand.AddParameter("Delimiter", Delimiter.Get(context));
- }
-
- if(Wait.Expression != null)
- {
- targetCommand.AddParameter("Wait", Wait.Get(context));
- }
-
- if(Raw.Expression != null)
- {
- targetCommand.AddParameter("Raw", Raw.Get(context));
- }
-
- if(Encoding.Expression != null)
- {
- targetCommand.AddParameter("Encoding", Encoding.Get(context));
- }
-
- if(Stream.Expression != null)
- {
- targetCommand.AddParameter("Stream", Stream.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetEventLogActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetEventLogActivity.cs
deleted file mode 100644
index 1781b3c5c5e..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetEventLogActivity.cs
+++ /dev/null
@@ -1,224 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-EventLog command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetEventLog : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetEventLog()
- {
- this.DisplayName = "Get-EventLog";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-EventLog"; } }
-
- // Arguments
-
- ///
- /// Provides access to the LogName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LogName { get; set; }
-
- ///
- /// Provides access to the Newest parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Newest { get; set; }
-
- ///
- /// Provides access to the After parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument After { get; set; }
-
- ///
- /// Provides access to the Before parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Before { get; set; }
-
- ///
- /// Provides access to the UserName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument UserName { get; set; }
-
- ///
- /// Provides access to the InstanceId parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument InstanceId { get; set; }
-
- ///
- /// Provides access to the Index parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Index { get; set; }
-
- ///
- /// Provides access to the EntryType parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument EntryType { get; set; }
-
- ///
- /// Provides access to the Source parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Source { get; set; }
-
- ///
- /// Provides access to the Message parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Message { get; set; }
-
- ///
- /// Provides access to the AsBaseObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument AsBaseObject { get; set; }
-
- ///
- /// Provides access to the List parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument List { get; set; }
-
- ///
- /// Provides access to the AsString parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument AsString { 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 System.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(LogName.Expression != null)
- {
- targetCommand.AddParameter("LogName", LogName.Get(context));
- }
-
- if(Newest.Expression != null)
- {
- targetCommand.AddParameter("Newest", Newest.Get(context));
- }
-
- if(After.Expression != null)
- {
- targetCommand.AddParameter("After", After.Get(context));
- }
-
- if(Before.Expression != null)
- {
- targetCommand.AddParameter("Before", Before.Get(context));
- }
-
- if(UserName.Expression != null)
- {
- targetCommand.AddParameter("UserName", UserName.Get(context));
- }
-
- if(InstanceId.Expression != null)
- {
- targetCommand.AddParameter("InstanceId", InstanceId.Get(context));
- }
-
- if(Index.Expression != null)
- {
- targetCommand.AddParameter("Index", Index.Get(context));
- }
-
- if(EntryType.Expression != null)
- {
- targetCommand.AddParameter("EntryType", EntryType.Get(context));
- }
-
- if(Source.Expression != null)
- {
- targetCommand.AddParameter("Source", Source.Get(context));
- }
-
- if(Message.Expression != null)
- {
- targetCommand.AddParameter("Message", Message.Get(context));
- }
-
- if(AsBaseObject.Expression != null)
- {
- targetCommand.AddParameter("AsBaseObject", AsBaseObject.Get(context));
- }
-
- if(List.Expression != null)
- {
- targetCommand.AddParameter("List", List.Get(context));
- }
-
- if(AsString.Expression != null)
- {
- targetCommand.AddParameter("AsString", AsString.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.Management.Activities/Generated/GetHotFixActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetHotFixActivity.cs
deleted file mode 100644
index 1eb1be30740..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetHotFixActivity.cs
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-HotFix command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetHotFix : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetHotFix()
- {
- this.DisplayName = "Get-HotFix";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-HotFix"; } }
-
- // Arguments
-
- ///
- /// Provides access to the HotFixId parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument HotFixId { get; set; }
-
- ///
- /// Provides access to the Description parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Description { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(HotFixId.Expression != null)
- {
- targetCommand.AddParameter("Id", HotFixId.Get(context));
- }
-
- if(Description.Expression != null)
- {
- targetCommand.AddParameter("Description", Description.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.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.Management.Activities/Generated/GetItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemActivity.cs
deleted file mode 100644
index 59a554e6ace..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemActivity.cs
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetItem()
- {
- this.DisplayName = "Get-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the Stream parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Stream { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(Stream.Expression != null)
- {
- targetCommand.AddParameter("Stream", Stream.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyActivity.cs
deleted file mode 100644
index 2b39596d9ea..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyActivity.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-ItemProperty command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetItemProperty : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetItemProperty()
- {
- this.DisplayName = "Get-ItemProperty";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-ItemProperty"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyValueActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyValueActivity.cs
deleted file mode 100644
index 111a03d303e..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetItemPropertyValueActivity.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-ItemPropertyValue command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetItemPropertyValue : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetItemPropertyValue()
- {
- this.DisplayName = "Get-ItemPropertyValue";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-ItemPropertyValue"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetLocationActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetLocationActivity.cs
deleted file mode 100644
index d9c5d47ff4a..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetLocationActivity.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-Location command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetLocation : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetLocation()
- {
- this.DisplayName = "Get-Location";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-Location"; } }
-
- // Arguments
-
- ///
- /// Provides access to the PSProvider parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PSProvider { get; set; }
-
- ///
- /// Provides access to the PSDrive parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PSDrive { get; set; }
-
- ///
- /// Provides access to the Stack parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Stack { get; set; }
-
- ///
- /// Provides access to the StackName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument StackName { 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 System.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(PSProvider.Expression != null)
- {
- targetCommand.AddParameter("PSProvider", PSProvider.Get(context));
- }
-
- if(PSDrive.Expression != null)
- {
- targetCommand.AddParameter("PSDrive", PSDrive.Get(context));
- }
-
- if(Stack.Expression != null)
- {
- targetCommand.AddParameter("Stack", Stack.Get(context));
- }
-
- if(StackName.Expression != null)
- {
- targetCommand.AddParameter("StackName", StackName.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSDriveActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSDriveActivity.cs
deleted file mode 100644
index 8cf2f6cb96a..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSDriveActivity.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-PSDrive command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetPSDrive : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetPSDrive()
- {
- this.DisplayName = "Get-PSDrive";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-PSDrive"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the LiteralName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralName { get; set; }
-
- ///
- /// Provides access to the Scope parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Scope { get; set; }
-
- ///
- /// Provides access to the PSProvider parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PSProvider { 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 System.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(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(LiteralName.Expression != null)
- {
- targetCommand.AddParameter("LiteralName", LiteralName.Get(context));
- }
-
- if(Scope.Expression != null)
- {
- targetCommand.AddParameter("Scope", Scope.Get(context));
- }
-
- if(PSProvider.Expression != null)
- {
- targetCommand.AddParameter("PSProvider", PSProvider.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSProviderActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSProviderActivity.cs
deleted file mode 100644
index 8b8c0e60516..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetPSProviderActivity.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-PSProvider command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetPSProvider : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetPSProvider()
- {
- this.DisplayName = "Get-PSProvider";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-PSProvider"; } }
-
- // Arguments
-
- ///
- /// Provides access to the PSProvider parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PSProvider { 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 System.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(PSProvider.Expression != null)
- {
- targetCommand.AddParameter("PSProvider", PSProvider.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/GetProcessActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetProcessActivity.cs
deleted file mode 100644
index 7c2008daecb..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetProcessActivity.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-Process command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetProcess : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetProcess()
- {
- this.DisplayName = "Get-Process";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-Process"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the ProcessId parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ProcessId { get; set; }
-
- ///
- /// Provides access to the InputObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument InputObject { get; set; }
-
- ///
- /// Provides access to the IncludeUserName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument IncludeUserName { get; set; }
-
- ///
- /// Provides access to the Module parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Module { get; set; }
-
- ///
- /// Provides access to the FileVersionInfo parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument FileVersionInfo { 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 System.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(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(ProcessId.Expression != null)
- {
- targetCommand.AddParameter("Id", ProcessId.Get(context));
- }
-
- if(InputObject.Expression != null)
- {
- targetCommand.AddParameter("InputObject", InputObject.Get(context));
- }
-
- if(IncludeUserName.Expression != null)
- {
- targetCommand.AddParameter("IncludeUserName", IncludeUserName.Get(context));
- }
-
- if(Module.Expression != null)
- {
- targetCommand.AddParameter("Module", Module.Get(context));
- }
-
- if(FileVersionInfo.Expression != null)
- {
- targetCommand.AddParameter("FileVersionInfo", FileVersionInfo.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.Management.Activities/Generated/GetServiceActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/GetServiceActivity.cs
deleted file mode 100644
index 511196b62a3..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/GetServiceActivity.cs
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Get-Service command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetService : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetService()
- {
- this.DisplayName = "Get-Service";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Get-Service"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the DependentServices parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument DependentServices { get; set; }
-
- ///
- /// Provides access to the RequiredServices parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument RequiredServices { get; set; }
-
- ///
- /// Provides access to the ServiceDisplayName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ServiceDisplayName { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the InputObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument InputObject { 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 System.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(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(DependentServices.Expression != null)
- {
- targetCommand.AddParameter("DependentServices", DependentServices.Get(context));
- }
-
- if(RequiredServices.Expression != null)
- {
- targetCommand.AddParameter("RequiredServices", RequiredServices.Get(context));
- }
-
- if(ServiceDisplayName.Expression != null)
- {
- targetCommand.AddParameter("DisplayName", ServiceDisplayName.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(InputObject.Expression != null)
- {
- targetCommand.AddParameter("InputObject", InputObject.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.Management.Activities/Generated/InvokeItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/InvokeItemActivity.cs
deleted file mode 100644
index c70f584ded6..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/InvokeItemActivity.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Invoke-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class InvokeItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public InvokeItem()
- {
- this.DisplayName = "Invoke-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Invoke-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/JoinPathActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/JoinPathActivity.cs
deleted file mode 100644
index bd6992910f6..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/JoinPathActivity.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Join-Path command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class JoinPath : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public JoinPath()
- {
- this.DisplayName = "Join-Path";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Join-Path"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the ChildPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ChildPath { get; set; }
-
- ///
- /// Provides access to the Resolve parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Resolve { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(ChildPath.Expression != null)
- {
- targetCommand.AddParameter("ChildPath", ChildPath.Get(context));
- }
-
- if(Resolve.Expression != null)
- {
- targetCommand.AddParameter("Resolve", Resolve.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/LimitEventLogActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/LimitEventLogActivity.cs
deleted file mode 100644
index 95f243d4d21..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/LimitEventLogActivity.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Limit-EventLog command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class LimitEventLog : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public LimitEventLog()
- {
- this.DisplayName = "Limit-EventLog";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Limit-EventLog"; } }
-
- // Arguments
-
- ///
- /// Provides access to the LogName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LogName { get; set; }
-
- ///
- /// Provides access to the RetentionDays parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument RetentionDays { get; set; }
-
- ///
- /// Provides access to the OverflowAction parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument OverflowAction { get; set; }
-
- ///
- /// Provides access to the MaximumSize parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument MaximumSize { 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 System.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(LogName.Expression != null)
- {
- targetCommand.AddParameter("LogName", LogName.Get(context));
- }
-
- if(RetentionDays.Expression != null)
- {
- targetCommand.AddParameter("RetentionDays", RetentionDays.Get(context));
- }
-
- if(OverflowAction.Expression != null)
- {
- targetCommand.AddParameter("OverflowAction", OverflowAction.Get(context));
- }
-
- if(MaximumSize.Expression != null)
- {
- targetCommand.AddParameter("MaximumSize", MaximumSize.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.Management.Activities/Generated/MoveItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/MoveItemActivity.cs
deleted file mode 100644
index 263032602a8..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/MoveItemActivity.cs
+++ /dev/null
@@ -1,166 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Move-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class MoveItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public MoveItem()
- {
- this.DisplayName = "Move-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Move-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Destination parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Destination { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Destination.Expression != null)
- {
- targetCommand.AddParameter("Destination", Destination.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/MoveItemPropertyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/MoveItemPropertyActivity.cs
deleted file mode 100644
index 4cf284d6603..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/MoveItemPropertyActivity.cs
+++ /dev/null
@@ -1,178 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Move-ItemProperty command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class MoveItemProperty : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public MoveItemProperty()
- {
- this.DisplayName = "Move-ItemProperty";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Move-ItemProperty"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the Destination parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Destination { get; set; }
-
- ///
- /// Provides access to the PassThru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PassThru { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(Destination.Expression != null)
- {
- targetCommand.AddParameter("Destination", Destination.Get(context));
- }
-
- if(PassThru.Expression != null)
- {
- targetCommand.AddParameter("PassThru", PassThru.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/NewEventLogActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/NewEventLogActivity.cs
deleted file mode 100644
index 6f175348fce..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/NewEventLogActivity.cs
+++ /dev/null
@@ -1,128 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\New-EventLog command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class NewEventLog : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public NewEventLog()
- {
- this.DisplayName = "New-EventLog";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\New-EventLog"; } }
-
- // Arguments
-
- ///
- /// Provides access to the CategoryResourceFile parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument CategoryResourceFile { get; set; }
-
- ///
- /// Provides access to the LogName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LogName { get; set; }
-
- ///
- /// Provides access to the MessageResourceFile parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument MessageResourceFile { get; set; }
-
- ///
- /// Provides access to the ParameterResourceFile parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ParameterResourceFile { get; set; }
-
- ///
- /// Provides access to the Source parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Source { 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 System.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(CategoryResourceFile.Expression != null)
- {
- targetCommand.AddParameter("CategoryResourceFile", CategoryResourceFile.Get(context));
- }
-
- if(LogName.Expression != null)
- {
- targetCommand.AddParameter("LogName", LogName.Get(context));
- }
-
- if(MessageResourceFile.Expression != null)
- {
- targetCommand.AddParameter("MessageResourceFile", MessageResourceFile.Get(context));
- }
-
- if(ParameterResourceFile.Expression != null)
- {
- targetCommand.AddParameter("ParameterResourceFile", ParameterResourceFile.Get(context));
- }
-
- if(Source.Expression != null)
- {
- targetCommand.AddParameter("Source", Source.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.Management.Activities/Generated/NewItemActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/NewItemActivity.cs
deleted file mode 100644
index e9193e84824..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/NewItemActivity.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\New-Item command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class NewItem : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public NewItem()
- {
- this.DisplayName = "New-Item";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\New-Item"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the ItemType parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ItemType { get; set; }
-
- ///
- /// Provides access to the Value parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Value { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(ItemType.Expression != null)
- {
- targetCommand.AddParameter("ItemType", ItemType.Get(context));
- }
-
- if(Value.Expression != null)
- {
- targetCommand.AddParameter("Value", Value.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/NewItemPropertyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/NewItemPropertyActivity.cs
deleted file mode 100644
index fe296f27828..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/NewItemPropertyActivity.cs
+++ /dev/null
@@ -1,178 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\New-ItemProperty command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class NewItemProperty : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public NewItemProperty()
- {
- this.DisplayName = "New-ItemProperty";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\New-ItemProperty"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the PropertyType parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument PropertyType { get; set; }
-
- ///
- /// Provides access to the Value parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Value { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the Filter parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Filter { get; set; }
-
- ///
- /// Provides access to the Include parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Include { get; set; }
-
- ///
- /// Provides access to the Exclude parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Exclude { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { 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 System.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(LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(PropertyType.Expression != null)
- {
- targetCommand.AddParameter("PropertyType", PropertyType.Get(context));
- }
-
- if(Value.Expression != null)
- {
- targetCommand.AddParameter("Value", Value.Get(context));
- }
-
- if(Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if(Filter.Expression != null)
- {
- targetCommand.AddParameter("Filter", Filter.Get(context));
- }
-
- if(Include.Expression != null)
- {
- targetCommand.AddParameter("Include", Include.Get(context));
- }
-
- if(Exclude.Expression != null)
- {
- targetCommand.AddParameter("Exclude", Exclude.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/NewServiceActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/NewServiceActivity.cs
deleted file mode 100644
index 3a42d06abb5..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/NewServiceActivity.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\New-Service command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class NewService : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public NewService()
- {
- this.DisplayName = "New-Service";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\New-Service"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Name parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Name { get; set; }
-
- ///
- /// Provides access to the BinaryPathName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument BinaryPathName { get; set; }
-
- ///
- /// Provides access to the ServiceDisplayName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ServiceDisplayName { get; set; }
-
- ///
- /// Provides access to the Description parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Description { get; set; }
-
- ///
- /// Provides access to the StartupType parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument StartupType { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the DependsOn parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument DependsOn { 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 System.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(Name.Expression != null)
- {
- targetCommand.AddParameter("Name", Name.Get(context));
- }
-
- if(BinaryPathName.Expression != null)
- {
- targetCommand.AddParameter("BinaryPathName", BinaryPathName.Get(context));
- }
-
- if(ServiceDisplayName.Expression != null)
- {
- targetCommand.AddParameter("DisplayName", ServiceDisplayName.Get(context));
- }
-
- if(Description.Expression != null)
- {
- targetCommand.AddParameter("Description", Description.Get(context));
- }
-
- if(StartupType.Expression != null)
- {
- targetCommand.AddParameter("StartupType", StartupType.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(DependsOn.Expression != null)
- {
- targetCommand.AddParameter("DependsOn", DependsOn.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/NewWebServiceProxyActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/NewWebServiceProxyActivity.cs
deleted file mode 100644
index 893a31c96e7..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/NewWebServiceProxyActivity.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\New-WebServiceProxy command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class NewWebServiceProxy : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public NewWebServiceProxy()
- {
- this.DisplayName = "New-WebServiceProxy";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\New-WebServiceProxy"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Uri parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Uri { get; set; }
-
- ///
- /// Provides access to the Class parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Class { get; set; }
-
- ///
- /// Provides access to the Namespace parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Namespace { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the UseDefaultCredential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument UseDefaultCredential { 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 System.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(Uri.Expression != null)
- {
- targetCommand.AddParameter("Uri", Uri.Get(context));
- }
-
- if(Class.Expression != null)
- {
- targetCommand.AddParameter("Class", Class.Get(context));
- }
-
- if(Namespace.Expression != null)
- {
- targetCommand.AddParameter("Namespace", Namespace.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(UseDefaultCredential.Expression != null)
- {
- targetCommand.AddParameter("UseDefaultCredential", UseDefaultCredential.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/RegisterWmiEventActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/RegisterWmiEventActivity.cs
deleted file mode 100644
index 52ecb611d31..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/RegisterWmiEventActivity.cs
+++ /dev/null
@@ -1,202 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Register-WmiEvent command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class RegisterWmiEvent : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public RegisterWmiEvent()
- {
- this.DisplayName = "Register-WmiEvent";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Register-WmiEvent"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Namespace parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Namespace { get; set; }
-
- ///
- /// Provides access to the Credential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Credential { get; set; }
-
- ///
- /// Provides access to the ComputerName parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ComputerName { get; set; }
-
- ///
- /// Provides access to the Class parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Class { get; set; }
-
- ///
- /// Provides access to the Query parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Query { get; set; }
-
- ///
- /// Provides access to the Timeout parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Timeout { get; set; }
-
- ///
- /// Provides access to the SourceIdentifier parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SourceIdentifier { get; set; }
-
- ///
- /// Provides access to the Action parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Action { get; set; }
-
- ///
- /// Provides access to the MessageData parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument MessageData { get; set; }
-
- ///
- /// Provides access to the SupportEvent parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SupportEvent { get; set; }
-
- ///
- /// Provides access to the Forward parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Forward { get; set; }
-
- ///
- /// Provides access to the MaxTriggerCount parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument MaxTriggerCount { 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 System.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(Namespace.Expression != null)
- {
- targetCommand.AddParameter("Namespace", Namespace.Get(context));
- }
-
- if(Credential.Expression != null)
- {
- targetCommand.AddParameter("Credential", Credential.Get(context));
- }
-
- if(ComputerName.Expression != null)
- {
- targetCommand.AddParameter("ComputerName", ComputerName.Get(context));
- }
-
- if(Class.Expression != null)
- {
- targetCommand.AddParameter("Class", Class.Get(context));
- }
-
- if(Query.Expression != null)
- {
- targetCommand.AddParameter("Query", Query.Get(context));
- }
-
- if(Timeout.Expression != null)
- {
- targetCommand.AddParameter("Timeout", Timeout.Get(context));
- }
-
- if(SourceIdentifier.Expression != null)
- {
- targetCommand.AddParameter("SourceIdentifier", SourceIdentifier.Get(context));
- }
-
- if(Action.Expression != null)
- {
- targetCommand.AddParameter("Action", Action.Get(context));
- }
-
- if(MessageData.Expression != null)
- {
- targetCommand.AddParameter("MessageData", MessageData.Get(context));
- }
-
- if(SupportEvent.Expression != null)
- {
- targetCommand.AddParameter("SupportEvent", SupportEvent.Get(context));
- }
-
- if(Forward.Expression != null)
- {
- targetCommand.AddParameter("Forward", Forward.Get(context));
- }
-
- if(MaxTriggerCount.Expression != null)
- {
- targetCommand.AddParameter("MaxTriggerCount", MaxTriggerCount.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Management.Activities/Generated/RemoveComputerActivity.cs b/src/Microsoft.PowerShell.Management.Activities/Generated/RemoveComputerActivity.cs
deleted file mode 100644
index c3b8f029d2a..00000000000
--- a/src/Microsoft.PowerShell.Management.Activities/Generated/RemoveComputerActivity.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// 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.Management.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Management\Remove-Computer command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class RemoveComputer : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public RemoveComputer()
- {
- this.DisplayName = "Remove-Computer";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Management\\Remove-Computer"; } }
-
- // Arguments
-
- ///
- /// Provides access to the UnjoinDomainCredential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument UnjoinDomainCredential { get; set; }
-
- ///
- /// Provides access to the LocalCredential parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LocalCredential { get; set; }
-
- ///
- /// Provides access to the Restart parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Restart { get; set; }
-
- ///