diff --git a/scripts/gen/SECURITY/CertificateProviderStrings.cs b/scripts/gen/SECURITY/CertificateProviderStrings.cs
new file mode 100644
index 0000000000..dced93a661
--- /dev/null
+++ b/scripts/gen/SECURITY/CertificateProviderStrings.cs
@@ -0,0 +1,279 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+
+
+///
+/// A strongly-typed resource class, for looking up localized strings, etc.
+///
+// This class was auto-generated by the StronglyTypedResourceBuilder
+// class via a tool like ResGen or Visual Studio.
+// To add or remove a member, edit your .ResX file then rerun ResGen
+// with the /str option, or rebuild your VS project.
+[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+internal class CertificateProviderStrings {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal CertificateProviderStrings() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CertificateProviderStrings", typeof(CertificateProviderStrings).GetTypeInfo().Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invoke Certificate Manager.
+ ///
+ internal static string Action_Invoke {
+ get {
+ return ResourceManager.GetString("Action_Invoke", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Move certificate.
+ ///
+ internal static string Action_Move {
+ get {
+ return ResourceManager.GetString("Action_Move", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Remove certificate.
+ ///
+ internal static string Action_Remove {
+ get {
+ return ResourceManager.GetString("Action_Remove", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Remove certificate and its private key..
+ ///
+ internal static string Action_RemoveAndDeleteKey {
+ get {
+ return ResourceManager.GetString("Action_RemoveAndDeleteKey", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot create an item other than certificate store. .
+ ///
+ internal static string CannotCreateItem {
+ get {
+ return ResourceManager.GetString("CannotCreateItem", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating certificate stores under CurrentUser is not supported. .
+ ///
+ internal static string CannotCreateUserStore {
+ get {
+ return ResourceManager.GetString("CannotCreateUserStore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Deleting certificate stores under CurrentUser is not supported. .
+ ///
+ internal static string CannotDeleteUserStore {
+ get {
+ return ResourceManager.GetString("CannotDeleteUserStore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot move a certificate container. .
+ ///
+ internal static string CannotMoveContainer {
+ get {
+ return ResourceManager.GetString("CannotMoveContainer", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot move a certificate from user store to or from machine. .
+ ///
+ internal static string CannotMoveCrossContext {
+ get {
+ return ResourceManager.GetString("CannotMoveCrossContext", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot move a certificate to the same store. .
+ ///
+ internal static string CannotMoveToSameStore {
+ get {
+ return ResourceManager.GetString("CannotMoveToSameStore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot remove a certificate container. .
+ ///
+ internal static string CannotRemoveContainer {
+ get {
+ return ResourceManager.GetString("CannotRemoveContainer", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the X509 certificate at path {0}..
+ ///
+ internal static string CertificateNotFound {
+ get {
+ return ResourceManager.GetString("CertificateNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the certificate store because the specified X509 store location {0} is not valid..
+ ///
+ internal static string CertificateStoreLocationNotFound {
+ get {
+ return ResourceManager.GetString("CertificateStoreLocationNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the X509 certificate store at path {0}..
+ ///
+ internal static string CertificateStoreNotFound {
+ get {
+ return ResourceManager.GetString("CertificateStoreNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to X509 Certificate Provider.
+ ///
+ internal static string CertProvidername {
+ get {
+ return ResourceManager.GetString("CertProvidername", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The destination is not a valid store. .
+ ///
+ internal static string InvalidDestStore {
+ get {
+ return ResourceManager.GetString("InvalidDestStore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot process the path because path {0} is not a valid certificate provider path..
+ ///
+ internal static string InvalidPath {
+ get {
+ return ResourceManager.GetString("InvalidPath", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Item: {0} Destination: {1} .
+ ///
+ internal static string MoveItemTemplate {
+ get {
+ return ResourceManager.GetString("MoveItemTemplate", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} is not supported in the current operating system. .
+ ///
+ internal static string NotSupported_CertificateProvider {
+ get {
+ return ResourceManager.GetString("NotSupported_CertificateProvider", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to . The following error may be a result of user credentials required on the remote machine. See Enable-WSManCredSSP Cmdlet help on how to enable and use CredSSP for delegation with Windows PowerShell remoting. .
+ ///
+ internal static string RemoteErrorMessage {
+ get {
+ return ResourceManager.GetString("RemoteErrorMessage", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Item: {0} .
+ ///
+ internal static string RemoveItemTemplate {
+ get {
+ return ResourceManager.GetString("RemoveItemTemplate", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The store {0} is a built-in system store and cannot be deleted..
+ ///
+ internal static string RemoveStoreTemplate {
+ get {
+ return ResourceManager.GetString("RemoveStoreTemplate", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The operation is on user root store and UI is not allowed. .
+ ///
+ internal static string UINotAllowed {
+ get {
+ return ResourceManager.GetString("UINotAllowed", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Private key skipped. The certificate has no private key association. .
+ ///
+ internal static string VerboseNoPrivateKey {
+ get {
+ return ResourceManager.GetString("VerboseNoPrivateKey", resourceCulture);
+ }
+ }
+}
diff --git a/scripts/gen/SECURITY/CertificateProviderStrings.resources b/scripts/gen/SECURITY/CertificateProviderStrings.resources
new file mode 100644
index 0000000000..6a9990188c
Binary files /dev/null and b/scripts/gen/SECURITY/CertificateProviderStrings.resources differ
diff --git a/scripts/gen/SECURITY/ExecutionPolicyCommands.cs b/scripts/gen/SECURITY/ExecutionPolicyCommands.cs
new file mode 100644
index 0000000000..7774dc32cb
--- /dev/null
+++ b/scripts/gen/SECURITY/ExecutionPolicyCommands.cs
@@ -0,0 +1,126 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+
+
+///
+/// A strongly-typed resource class, for looking up localized strings, etc.
+///
+// This class was auto-generated by the StronglyTypedResourceBuilder
+// class via a tool like ResGen or Visual Studio.
+// To add or remove a member, edit your .ResX file then rerun ResGen
+// with the /str option, or rebuild your VS project.
+[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+internal class ExecutionPolicyCommands {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal ExecutionPolicyCommands() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ExecutionPolicyCommands", typeof(ExecutionPolicyCommands).GetTypeInfo().Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot set execution policy. Execution policies at the MachinePolicy or UserPolicy scopes must be set through Group Policy..
+ ///
+ internal static string CantSetGroupPolicy {
+ get {
+ return ResourceManager.GetString("CantSetGroupPolicy", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of {0}. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information please see "Get-Help Set-ExecutionPolicy"..
+ ///
+ internal static string ExecutionPolicyOverridden {
+ get {
+ return ResourceManager.GetString("ExecutionPolicyOverridden", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Contact your system administrator..
+ ///
+ internal static string ExecutionPolicyOverriddenRecommendedAction {
+ get {
+ return ResourceManager.GetString("ExecutionPolicyOverriddenRecommendedAction", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot get execution policy. Specify only the List or Scope parameters..
+ ///
+ internal static string ListAndScopeSpecified {
+ get {
+ return ResourceManager.GetString("ListAndScopeSpecified", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} To change the execution policy for the default (LocalMachine) scope, start Windows PowerShell with the "Run as administrator" option. To change the execution policy for the current user, run "Set-ExecutionPolicy -Scope CurrentUser"..
+ ///
+ internal static string SetExecutionPolicyAccessDeniedError {
+ get {
+ return ResourceManager.GetString("SetExecutionPolicyAccessDeniedError", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Execution Policy Change.
+ ///
+ internal static string SetExecutionPolicyCaption {
+ get {
+ return ResourceManager.GetString("SetExecutionPolicyCaption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?.
+ ///
+ internal static string SetExecutionPolicyQuery {
+ get {
+ return ResourceManager.GetString("SetExecutionPolicyQuery", resourceCulture);
+ }
+ }
+}
diff --git a/scripts/gen/SECURITY/ExecutionPolicyCommands.resources b/scripts/gen/SECURITY/ExecutionPolicyCommands.resources
new file mode 100644
index 0000000000..e9e0e2fa3e
Binary files /dev/null and b/scripts/gen/SECURITY/ExecutionPolicyCommands.resources differ
diff --git a/scripts/gen/SECURITY/SecureStringCommands.cs b/scripts/gen/SECURITY/SecureStringCommands.cs
new file mode 100644
index 0000000000..c00095ad58
--- /dev/null
+++ b/scripts/gen/SECURITY/SecureStringCommands.cs
@@ -0,0 +1,81 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+
+
+///
+/// A strongly-typed resource class, for looking up localized strings, etc.
+///
+// This class was auto-generated by the StronglyTypedResourceBuilder
+// class via a tool like ResGen or Visual Studio.
+// To add or remove a member, edit your .ResX file then rerun ResGen
+// with the /str option, or rebuild your VS project.
+[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+internal class SecureStringCommands {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal SecureStringCommands() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SecureStringCommands", typeof(SecureStringCommands).GetTypeInfo().Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The system cannot protect plain text input. To suppress this warning and convert the plain text to a SecureString, reissue the command specifying the Force parameter. For more information ,type: get-help ConvertTo-SecureString..
+ ///
+ internal static string ForceRequired {
+ get {
+ return ResourceManager.GetString("ForceRequired", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enter secret: .
+ ///
+ internal static string NewSecureString_Prompt {
+ get {
+ return ResourceManager.GetString("NewSecureString_Prompt", resourceCulture);
+ }
+ }
+}
diff --git a/scripts/gen/SECURITY/SecureStringCommands.resources b/scripts/gen/SECURITY/SecureStringCommands.resources
new file mode 100644
index 0000000000..e03263658b
Binary files /dev/null and b/scripts/gen/SECURITY/SecureStringCommands.resources differ
diff --git a/scripts/gen/SECURITY/SignatureCommands.cs b/scripts/gen/SECURITY/SignatureCommands.cs
new file mode 100644
index 0000000000..4427960344
--- /dev/null
+++ b/scripts/gen/SECURITY/SignatureCommands.cs
@@ -0,0 +1,99 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+
+
+///
+/// A strongly-typed resource class, for looking up localized strings, etc.
+///
+// This class was auto-generated by the StronglyTypedResourceBuilder
+// class via a tool like ResGen or Visual Studio.
+// To add or remove a member, edit your .ResX file then rerun ResGen
+// with the /str option, or rebuild your VS project.
+[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+internal class SignatureCommands {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal SignatureCommands() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SignatureCommands", typeof(SignatureCommands).GetTypeInfo().Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Get-AuthenticodeSignature cmdlet does not support directories. Supply a path to a file and retry..
+ ///
+ internal static string CannotRetrieveFromContainer {
+ get {
+ return ResourceManager.GetString("CannotRetrieveFromContainer", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot sign code. The specified certificate is not suitable for code signing..
+ ///
+ internal static string CertNotGoodForSigning {
+ get {
+ return ResourceManager.GetString("CertNotGoodForSigning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File {0} was not found..
+ ///
+ internal static string FileNotFound {
+ get {
+ return ResourceManager.GetString("FileNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot sign code. The TimeStamp server URL must be fully qualified in the form of http://<server url>.
+ ///
+ internal static string TimeStampUrlRequired {
+ get {
+ return ResourceManager.GetString("TimeStampUrlRequired", resourceCulture);
+ }
+ }
+}
diff --git a/scripts/gen/SECURITY/SignatureCommands.resources b/scripts/gen/SECURITY/SignatureCommands.resources
new file mode 100644
index 0000000000..5ae0f77c13
Binary files /dev/null and b/scripts/gen/SECURITY/SignatureCommands.resources differ
diff --git a/scripts/gen/SECURITY/UtilsStrings.cs b/scripts/gen/SECURITY/UtilsStrings.cs
new file mode 100644
index 0000000000..418ccf65e8
--- /dev/null
+++ b/scripts/gen/SECURITY/UtilsStrings.cs
@@ -0,0 +1,171 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+
+
+///
+/// A strongly-typed resource class, for looking up localized strings, etc.
+///
+// This class was auto-generated by the StronglyTypedResourceBuilder
+// class via a tool like ResGen or Visual Studio.
+// To add or remove a member, edit your .ResX file then rerun ResGen
+// with the /str option, or rebuild your VS project.
+[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+internal class UtilsStrings {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal UtilsStrings() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UtilsStrings", typeof(UtilsStrings).GetTypeInfo().Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot digitally sign file because file {0} is smaller than 4 bytes in size. Files must be at least 4 bytes in order to be digitally signed..
+ ///
+ internal static string FileSmallerThan4Bytes {
+ get {
+ return ResourceManager.GetString("FileSmallerThan4Bytes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not create an empty SACL..
+ ///
+ internal static string GetEmptySaclFail {
+ get {
+ return ResourceManager.GetString("GetEmptySaclFail", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot get the ACL because the necessary method, GetSecurityDescriptor, does not exist..
+ ///
+ internal static string GetMethodNotFound {
+ get {
+ return ResourceManager.GetString("GetMethodNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not create a SACL with the specified central access policy..
+ ///
+ internal static string GetSaclWithCapIdFail {
+ get {
+ return ResourceManager.GetString("GetSaclWithCapIdFail", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not enable SeSecurityPrivilege..
+ ///
+ internal static string GetTokenWithEnabledPrivilegeFail {
+ get {
+ return ResourceManager.GetString("GetTokenWithEnabledPrivilegeFail", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Central Access Policy identifier or name is not valid. If specifying an identifier, it must begin with S-1-17. If specifying a name, the policy must be applied on the target machine..
+ ///
+ internal static string InvalidCentralAccessPolicyIdentifier {
+ get {
+ return ResourceManager.GetString("InvalidCentralAccessPolicyIdentifier", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to ClearCentralAccessPolicy and CentralAccessPolicy parameters cannot be used at the same time..
+ ///
+ internal static string InvalidCentralAccessPolicyParameters {
+ get {
+ return ResourceManager.GetString("InvalidCentralAccessPolicyParameters", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not perform operation because an exception was thrown during method invoke..
+ ///
+ internal static string MethodInvokeFail {
+ get {
+ return ResourceManager.GetString("MethodInvokeFail", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot perform the operation because it is not supported on the object found in path {0}..
+ ///
+ internal static string OperationNotSupportedOnPath {
+ get {
+ return ResourceManager.GetString("OperationNotSupportedOnPath", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Windows PowerShell credential request..
+ ///
+ internal static string PromptForCredential_DefaultCaption {
+ get {
+ return ResourceManager.GetString("PromptForCredential_DefaultCaption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not set central access policy..
+ ///
+ internal static string SetCentralAccessPolicyFail {
+ get {
+ return ResourceManager.GetString("SetCentralAccessPolicyFail", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot set the ACL because the method that it needs to invoke, SetSecurityDescriptor, does not exist..
+ ///
+ internal static string SetMethodNotFound {
+ get {
+ return ResourceManager.GetString("SetMethodNotFound", resourceCulture);
+ }
+ }
+}
diff --git a/scripts/gen/SECURITY/UtilsStrings.resources b/scripts/gen/SECURITY/UtilsStrings.resources
new file mode 100644
index 0000000000..313d0030cf
Binary files /dev/null and b/scripts/gen/SECURITY/UtilsStrings.resources differ
diff --git a/scripts/security-win.mk b/scripts/security-win.mk
new file mode 100644
index 0000000000..f204cd59eb
--- /dev/null
+++ b/scripts/security-win.mk
@@ -0,0 +1,115 @@
+# This is an automatically generated file for the make dependency: SECURITY
+
+SECURITY_SRCS_WIN=\
+ ../../../jws/pswin/admin/monad/src/security/AclCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/CertificateProvider.cs \
+ ../../../jws/pswin/admin/monad/src/security/certificateproviderexceptions.cs \
+ ../../../jws/pswin/admin/monad/src/security/CredentialCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/ExecutionPolicyCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/SecureStringCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/SignatureCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/Utils.cs \
+
+
+SECURITY_SRCS=\
+ $(ADMIN_GIT_ROOT)/monad/src/security/AclCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/CertificateProvider.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/certificateproviderexceptions.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/CredentialCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/ExecutionPolicyCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/SecureStringCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/SignatureCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/Utils.cs \
+
+
+SECURITY_RES_BASE_PATH=../../../jws/pswin/admin/monad/src/security/resources
+
+SECURITY_RES_GEN_PATH=gen/SECURITY
+
+SECURITY_RES_GEN_PATH_WIN=gen\SECURITY
+
+SECURITY_RESX_SRCS=\
+ ../../../jws/pswin/admin/monad/src/security/resources/CertificateProviderStrings.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/ExecutionPolicyCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/SecureStringCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/SignatureCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/UtilsStrings.resx \
+
+
+SECURITY_RES_SRCS=\
+ gen/SECURITY/CertificateProviderStrings.resources \
+ gen/SECURITY/ExecutionPolicyCommands.resources \
+ gen/SECURITY/SecureStringCommands.resources \
+ gen/SECURITY/SignatureCommands.resources \
+ gen/SECURITY/UtilsStrings.resources \
+
+
+SECURITY_RES_CS_SRCS=\
+ gen/SECURITY/CertificateProviderStrings.cs \
+ gen/SECURITY/ExecutionPolicyCommands.cs \
+ gen/SECURITY/SecureStringCommands.cs \
+ gen/SECURITY/SignatureCommands.cs \
+ gen/SECURITY/UtilsStrings.cs \
+
+
+SECURITY_RES_REF=\
+ -resource:gen/SECURITY/CertificateProviderStrings.resources \
+ -resource:gen/SECURITY/ExecutionPolicyCommands.resources \
+ -resource:gen/SECURITY/SecureStringCommands.resources \
+ -resource:gen/SECURITY/SignatureCommands.resources \
+ -resource:gen/SECURITY/UtilsStrings.resources \
+
+
+# the commands below need the make variable SHELL to be set to "cmd", this is best done
+# as a command line option to make
+$(SECURITY_RES_GEN_PATH)/CertificateProviderStrings.resources: $(SECURITY_RES_BASE_PATH)/CertificateProviderStrings.resx
+ mkdir $(SECURITY_RES_GEN_PATH_WIN) || exit /b 0
+ resgen /useSourcePath $< $@
+
+$(SECURITY_RES_GEN_PATH)/CertificateProviderStrings.cs: $(SECURITY_RES_GEN_PATH)/CertificateProviderStrings.resources
+ resgen /useSourcePath /str:cs $<
+ sed -i -- 's/using System;/using System;\r\nusing System.Reflection;/g' $@
+ sed -i -- 's/)\.Assembly/).GetTypeInfo().Assembly/g' $@
+
+$(SECURITY_RES_GEN_PATH)/ExecutionPolicyCommands.resources: $(SECURITY_RES_BASE_PATH)/ExecutionPolicyCommands.resx
+ mkdir $(SECURITY_RES_GEN_PATH_WIN) || exit /b 0
+ resgen /useSourcePath $< $@
+
+$(SECURITY_RES_GEN_PATH)/ExecutionPolicyCommands.cs: $(SECURITY_RES_GEN_PATH)/ExecutionPolicyCommands.resources
+ resgen /useSourcePath /str:cs $<
+ sed -i -- 's/using System;/using System;\r\nusing System.Reflection;/g' $@
+ sed -i -- 's/)\.Assembly/).GetTypeInfo().Assembly/g' $@
+
+$(SECURITY_RES_GEN_PATH)/SecureStringCommands.resources: $(SECURITY_RES_BASE_PATH)/SecureStringCommands.resx
+ mkdir $(SECURITY_RES_GEN_PATH_WIN) || exit /b 0
+ resgen /useSourcePath $< $@
+
+$(SECURITY_RES_GEN_PATH)/SecureStringCommands.cs: $(SECURITY_RES_GEN_PATH)/SecureStringCommands.resources
+ resgen /useSourcePath /str:cs $<
+ sed -i -- 's/using System;/using System;\r\nusing System.Reflection;/g' $@
+ sed -i -- 's/)\.Assembly/).GetTypeInfo().Assembly/g' $@
+
+$(SECURITY_RES_GEN_PATH)/SignatureCommands.resources: $(SECURITY_RES_BASE_PATH)/SignatureCommands.resx
+ mkdir $(SECURITY_RES_GEN_PATH_WIN) || exit /b 0
+ resgen /useSourcePath $< $@
+
+$(SECURITY_RES_GEN_PATH)/SignatureCommands.cs: $(SECURITY_RES_GEN_PATH)/SignatureCommands.resources
+ resgen /useSourcePath /str:cs $<
+ sed -i -- 's/using System;/using System;\r\nusing System.Reflection;/g' $@
+ sed -i -- 's/)\.Assembly/).GetTypeInfo().Assembly/g' $@
+
+$(SECURITY_RES_GEN_PATH)/UtilsStrings.resources: $(SECURITY_RES_BASE_PATH)/UtilsStrings.resx
+ mkdir $(SECURITY_RES_GEN_PATH_WIN) || exit /b 0
+ resgen /useSourcePath $< $@
+
+$(SECURITY_RES_GEN_PATH)/UtilsStrings.cs: $(SECURITY_RES_GEN_PATH)/UtilsStrings.resources
+ resgen /useSourcePath /str:cs $<
+ sed -i -- 's/using System;/using System;\r\nusing System.Reflection;/g' $@
+ sed -i -- 's/)\.Assembly/).GetTypeInfo().Assembly/g' $@
+
+SECURITY_make_rule_RES_SRCS: $(SECURITY_RES_SRCS)
+
+SECURITY_make_rule_RES_CS_SRCS: $(SECURITY_RES_CS_SRCS)
+
+SECURITY_TARGET=Microsoft.PowerShell.Security
+
diff --git a/scripts/security.mk b/scripts/security.mk
new file mode 100644
index 0000000000..a0cfa0eb63
--- /dev/null
+++ b/scripts/security.mk
@@ -0,0 +1,68 @@
+# This is an automatically generated file for the make dependency: SECURITY
+
+SECURITY_SRCS_WIN=\
+ ../../../jws/pswin/admin/monad/src/security/AclCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/CertificateProvider.cs \
+ ../../../jws/pswin/admin/monad/src/security/certificateproviderexceptions.cs \
+ ../../../jws/pswin/admin/monad/src/security/CredentialCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/ExecutionPolicyCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/SecureStringCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/SignatureCommands.cs \
+ ../../../jws/pswin/admin/monad/src/security/Utils.cs \
+
+
+SECURITY_SRCS=\
+ $(ADMIN_GIT_ROOT)/monad/src/security/AclCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/CertificateProvider.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/certificateproviderexceptions.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/CredentialCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/ExecutionPolicyCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/SecureStringCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/SignatureCommands.cs \
+ $(ADMIN_GIT_ROOT)/monad/src/security/Utils.cs \
+
+
+SECURITY_RES_BASE_PATH=../../../jws/pswin/admin/monad/src/security/resources
+
+SECURITY_RES_GEN_PATH=gen/SECURITY
+
+SECURITY_RES_GEN_PATH_WIN=gen\SECURITY
+
+SECURITY_RESX_SRCS=\
+ ../../../jws/pswin/admin/monad/src/security/resources/CertificateProviderStrings.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/ExecutionPolicyCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/SecureStringCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/SignatureCommands.resx \
+ ../../../jws/pswin/admin/monad/src/security/resources/UtilsStrings.resx \
+
+
+SECURITY_RES_SRCS=\
+ gen/SECURITY/CertificateProviderStrings.resources \
+ gen/SECURITY/ExecutionPolicyCommands.resources \
+ gen/SECURITY/SecureStringCommands.resources \
+ gen/SECURITY/SignatureCommands.resources \
+ gen/SECURITY/UtilsStrings.resources \
+
+
+SECURITY_RES_CS_SRCS=\
+ gen/SECURITY/CertificateProviderStrings.cs \
+ gen/SECURITY/ExecutionPolicyCommands.cs \
+ gen/SECURITY/SecureStringCommands.cs \
+ gen/SECURITY/SignatureCommands.cs \
+ gen/SECURITY/UtilsStrings.cs \
+
+
+SECURITY_RES_REF=\
+ -resource:gen/SECURITY/CertificateProviderStrings.resources \
+ -resource:gen/SECURITY/ExecutionPolicyCommands.resources \
+ -resource:gen/SECURITY/SecureStringCommands.resources \
+ -resource:gen/SECURITY/SignatureCommands.resources \
+ -resource:gen/SECURITY/UtilsStrings.resources \
+
+
+SECURITY_make_rule_RES_SRCS: $(SECURITY_RES_SRCS)
+
+SECURITY_make_rule_RES_CS_SRCS: $(SECURITY_RES_CS_SRCS)
+
+SECURITY_TARGET=Microsoft.PowerShell.Security
+