diff --git a/src/Microsoft.PowerShell.Security.Activities/AssemblyInfo.cs b/src/Microsoft.PowerShell.Security.Activities/AssemblyInfo.cs
deleted file mode 100644
index 55b23b3691f..00000000000
--- a/src/Microsoft.PowerShell.Security.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.Security.Activities")]
-[assembly: AssemblyDescription("Microsoft.PowerShell.Security.Activities")]
-
-[module: SuppressMessage("Microsoft.Design", "CA1014:MarkAssembliesWithClsCompliant")]
-
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertFromSecureStringActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertFromSecureStringActivity.cs
deleted file mode 100644
index 0acec77e982..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertFromSecureStringActivity.cs
+++ /dev/null
@@ -1,95 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\ConvertFrom-SecureString command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ConvertFromSecureString : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ConvertFromSecureString()
- {
- this.DisplayName = "ConvertFrom-SecureString";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\ConvertFrom-SecureString"; } }
-
- // Arguments
-
- ///
- /// Provides access to the SecureString parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SecureString { get; set; }
-
- ///
- /// Provides access to the SecureKey parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SecureKey { get; set; }
-
- ///
- /// Provides access to the Key parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Key { 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 (SecureString.Expression != null)
- {
- targetCommand.AddParameter("SecureString", SecureString.Get(context));
- }
-
- if (SecureKey.Expression != null)
- {
- targetCommand.AddParameter("SecureKey", SecureKey.Get(context));
- }
-
- if (Key.Expression != null)
- {
- targetCommand.AddParameter("Key", Key.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertToSecureStringActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertToSecureStringActivity.cs
deleted file mode 100644
index 3c1899a65b4..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/ConvertToSecureStringActivity.cs
+++ /dev/null
@@ -1,119 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\ConvertTo-SecureString command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ConvertToSecureString : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ConvertToSecureString()
- {
- this.DisplayName = "ConvertTo-SecureString";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\ConvertTo-SecureString"; } }
-
- // Arguments
-
- ///
- /// Provides access to the String parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument String { get; set; }
-
- ///
- /// Provides access to the AsPlainText parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument AsPlainText { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the SecureKey parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SecureKey { get; set; }
-
- ///
- /// Provides access to the Key parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Key { 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 (String.Expression != null)
- {
- targetCommand.AddParameter("String", String.Get(context));
- }
-
- if (AsPlainText.Expression != null)
- {
- targetCommand.AddParameter("AsPlainText", AsPlainText.Get(context));
- }
-
- if (Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if (SecureKey.Expression != null)
- {
- targetCommand.AddParameter("SecureKey", SecureKey.Get(context));
- }
-
- if (Key.Expression != null)
- {
- targetCommand.AddParameter("Key", Key.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/GetAclActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/GetAclActivity.cs
deleted file mode 100644
index 10b363f6650..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/GetAclActivity.cs
+++ /dev/null
@@ -1,155 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Get-Acl command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetAcl : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetAcl()
- {
- this.DisplayName = "Get-Acl";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Get-Acl"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the InputObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument InputObject { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the Audit parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Audit { get; set; }
-
- ///
- /// Provides access to the AllCentralAccessPolicies parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument AllCentralAccessPolicies { 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; }
-
-
- // 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 (InputObject.Expression != null)
- {
- targetCommand.AddParameter("InputObject", InputObject.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if (Audit.Expression != null)
- {
- targetCommand.AddParameter("Audit", Audit.Get(context));
- }
-
- if (AllCentralAccessPolicies.Expression != null)
- {
- targetCommand.AddParameter("AllCentralAccessPolicies", AllCentralAccessPolicies.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));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/GetAuthenticodeSignatureActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/GetAuthenticodeSignatureActivity.cs
deleted file mode 100644
index 62913bb5cbb..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/GetAuthenticodeSignatureActivity.cs
+++ /dev/null
@@ -1,83 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Get-AuthenticodeSignature command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetAuthenticodeSignature : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetAuthenticodeSignature()
- {
- this.DisplayName = "Get-AuthenticodeSignature";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Get-AuthenticodeSignature"; } }
-
- // Arguments
-
- ///
- /// Provides access to the FilePath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument FilePath { 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 (FilePath.Expression != null)
- {
- targetCommand.AddParameter("FilePath", FilePath.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/GetCmsMessageActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/GetCmsMessageActivity.cs
deleted file mode 100644
index 029cb233521..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/GetCmsMessageActivity.cs
+++ /dev/null
@@ -1,95 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Get-CmsMessage command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetCmsMessage : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetCmsMessage()
- {
- this.DisplayName = "Get-CmsMessage";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Get-CmsMessage"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Content parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Content { 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; }
-
-
- // 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 (Content.Expression != null)
- {
- targetCommand.AddParameter("Content", Content.Get(context));
- }
-
- 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.Security.Activities/Generated/GetExecutionPolicyActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/GetExecutionPolicyActivity.cs
deleted file mode 100644
index 200b01278c3..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/GetExecutionPolicyActivity.cs
+++ /dev/null
@@ -1,83 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Get-ExecutionPolicy command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetExecutionPolicy : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetExecutionPolicy()
- {
- this.DisplayName = "Get-ExecutionPolicy";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Get-ExecutionPolicy"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Scope parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Scope { get; set; }
-
- ///
- /// Provides access to the List parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument List { 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 (Scope.Expression != null)
- {
- targetCommand.AddParameter("Scope", Scope.Get(context));
- }
-
- if (List.Expression != null)
- {
- targetCommand.AddParameter("List", List.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/GetPfxCertificateActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/GetPfxCertificateActivity.cs
deleted file mode 100644
index 3da864131fd..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/GetPfxCertificateActivity.cs
+++ /dev/null
@@ -1,83 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Get-PfxCertificate command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class GetPfxCertificate : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public GetPfxCertificate()
- {
- this.DisplayName = "Get-PfxCertificate";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Get-PfxCertificate"; } }
-
- // Arguments
-
- ///
- /// Provides access to the FilePath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument FilePath { 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 (FilePath.Expression != null)
- {
- targetCommand.AddParameter("FilePath", FilePath.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/ProtectCmsMessageActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/ProtectCmsMessageActivity.cs
deleted file mode 100644
index f2e2c22da46..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/ProtectCmsMessageActivity.cs
+++ /dev/null
@@ -1,119 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Protect-CmsMessage command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class ProtectCmsMessage : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public ProtectCmsMessage()
- {
- this.DisplayName = "Protect-CmsMessage";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Protect-CmsMessage"; } }
-
- // Arguments
-
- ///
- /// Provides access to the To parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument To { get; set; }
-
- ///
- /// Provides access to the Content parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Content { 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 OutFile parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument OutFile { 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 (To.Expression != null)
- {
- targetCommand.AddParameter("To", To.Get(context));
- }
-
- if (Content.Expression != null)
- {
- targetCommand.AddParameter("Content", Content.Get(context));
- }
-
- if (Path.Expression != null)
- {
- targetCommand.AddParameter("Path", Path.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if (OutFile.Expression != null)
- {
- targetCommand.AddParameter("OutFile", OutFile.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/SetAclActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/SetAclActivity.cs
deleted file mode 100644
index fd065686bd5..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/SetAclActivity.cs
+++ /dev/null
@@ -1,191 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Set-Acl command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class SetAcl : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public SetAcl()
- {
- this.DisplayName = "Set-Acl";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Set-Acl"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Path parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Path { get; set; }
-
- ///
- /// Provides access to the InputObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument InputObject { get; set; }
-
- ///
- /// Provides access to the LiteralPath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument LiteralPath { get; set; }
-
- ///
- /// Provides access to the AclObject parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument AclObject { get; set; }
-
- ///
- /// Provides access to the SecurityDescriptor parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument SecurityDescriptor { get; set; }
-
- ///
- /// Provides access to the CentralAccessPolicy parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument CentralAccessPolicy { get; set; }
-
- ///
- /// Provides access to the ClearCentralAccessPolicy parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ClearCentralAccessPolicy { get; set; }
-
- ///
- /// Provides access to the Passthru parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Passthru { 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; }
-
-
- // 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 (InputObject.Expression != null)
- {
- targetCommand.AddParameter("InputObject", InputObject.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if (AclObject.Expression != null)
- {
- targetCommand.AddParameter("AclObject", AclObject.Get(context));
- }
-
- if (SecurityDescriptor.Expression != null)
- {
- targetCommand.AddParameter("SecurityDescriptor", SecurityDescriptor.Get(context));
- }
-
- if (CentralAccessPolicy.Expression != null)
- {
- targetCommand.AddParameter("CentralAccessPolicy", CentralAccessPolicy.Get(context));
- }
-
- if (ClearCentralAccessPolicy.Expression != null)
- {
- targetCommand.AddParameter("ClearCentralAccessPolicy", ClearCentralAccessPolicy.Get(context));
- }
-
- if (Passthru.Expression != null)
- {
- targetCommand.AddParameter("Passthru", Passthru.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));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/SetAuthenticodeSignatureActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/SetAuthenticodeSignatureActivity.cs
deleted file mode 100644
index 1914c08c231..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/SetAuthenticodeSignatureActivity.cs
+++ /dev/null
@@ -1,143 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Set-AuthenticodeSignature command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class SetAuthenticodeSignature : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public SetAuthenticodeSignature()
- {
- this.DisplayName = "Set-AuthenticodeSignature";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Set-AuthenticodeSignature"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Certificate parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Certificate { get; set; }
-
- ///
- /// Provides access to the IncludeChain parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument IncludeChain { get; set; }
-
- ///
- /// Provides access to the TimestampServer parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument TimestampServer { get; set; }
-
- ///
- /// Provides access to the HashAlgorithm parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument HashAlgorithm { get; set; }
-
- ///
- /// Provides access to the Force parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Force { get; set; }
-
- ///
- /// Provides access to the FilePath parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument FilePath { 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 (Certificate.Expression != null)
- {
- targetCommand.AddParameter("Certificate", Certificate.Get(context));
- }
-
- if (IncludeChain.Expression != null)
- {
- targetCommand.AddParameter("IncludeChain", IncludeChain.Get(context));
- }
-
- if (TimestampServer.Expression != null)
- {
- targetCommand.AddParameter("TimestampServer", TimestampServer.Get(context));
- }
-
- if (HashAlgorithm.Expression != null)
- {
- targetCommand.AddParameter("HashAlgorithm", HashAlgorithm.Get(context));
- }
-
- if (Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
- if (FilePath.Expression != null)
- {
- targetCommand.AddParameter("FilePath", FilePath.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/SetExecutionPolicyActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/SetExecutionPolicyActivity.cs
deleted file mode 100644
index e6fe83b6ef7..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/SetExecutionPolicyActivity.cs
+++ /dev/null
@@ -1,95 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Set-ExecutionPolicy command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class SetExecutionPolicy : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public SetExecutionPolicy()
- {
- this.DisplayName = "Set-ExecutionPolicy";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Set-ExecutionPolicy"; } }
-
- // Arguments
-
- ///
- /// Provides access to the ExecutionPolicy parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument ExecutionPolicy { get; set; }
-
- ///
- /// Provides access to the Scope parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Scope { 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 (ExecutionPolicy.Expression != null)
- {
- targetCommand.AddParameter("ExecutionPolicy", ExecutionPolicy.Get(context));
- }
-
- if (Scope.Expression != null)
- {
- targetCommand.AddParameter("Scope", Scope.Get(context));
- }
-
- if (Force.Expression != null)
- {
- targetCommand.AddParameter("Force", Force.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}
diff --git a/src/Microsoft.PowerShell.Security.Activities/Generated/UnprotectCmsMessageActivity.cs b/src/Microsoft.PowerShell.Security.Activities/Generated/UnprotectCmsMessageActivity.cs
deleted file mode 100644
index 01b12c14ebc..00000000000
--- a/src/Microsoft.PowerShell.Security.Activities/Generated/UnprotectCmsMessageActivity.cs
+++ /dev/null
@@ -1,131 +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.Security.Activities
-{
- ///
- /// Activity to invoke the Microsoft.PowerShell.Security\Unprotect-CmsMessage command in a Workflow.
- ///
- [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")]
- public sealed class UnprotectCmsMessage : PSRemotingActivity
- {
- ///
- /// Gets the display name of the command invoked by this activity.
- ///
- public UnprotectCmsMessage()
- {
- this.DisplayName = "Unprotect-CmsMessage";
- }
-
- ///
- /// Gets the fully qualified name of the command invoked by this activity.
- ///
- public override string PSCommandName { get { return "Microsoft.PowerShell.Security\\Unprotect-CmsMessage"; } }
-
- // Arguments
-
- ///
- /// Provides access to the Content parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument Content { get; set; }
-
- ///
- /// Provides access to the EventLogRecord parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument EventLogRecord { 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 IncludeContext parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument IncludeContext { get; set; }
-
- ///
- /// Provides access to the To parameter.
- ///
- [ParameterSpecificCategory]
- [DefaultValue(null)]
- public InArgument To { 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 (Content.Expression != null)
- {
- targetCommand.AddParameter("Content", Content.Get(context));
- }
-
- if (EventLogRecord.Expression != null)
- {
- targetCommand.AddParameter("EventLogRecord", EventLogRecord.Get(context));
- }
-
- if (Path.Expression != null)
- {
- targetCommand.AddParameter("Path", Path.Get(context));
- }
-
- if (LiteralPath.Expression != null)
- {
- targetCommand.AddParameter("LiteralPath", LiteralPath.Get(context));
- }
-
- if (IncludeContext.Expression != null)
- {
- targetCommand.AddParameter("IncludeContext", IncludeContext.Get(context));
- }
-
- if (To.Expression != null)
- {
- targetCommand.AddParameter("To", To.Get(context));
- }
-
-
- return new ActivityImplementationContext() { PowerShellInstance = invoker };
- }
- }
-}