PowerShellConfigurationProcessorPolicy.cs (1466B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="PowerShellConfigurationProcessorPolicy.cs" company="Microsoft Corporation"> 3 // Copyright (c) Microsoft Corporation. Licensed under the MIT License. 4 // </copyright> 5 // ----------------------------------------------------------------------------- 6 7 namespace Microsoft.Management.Configuration.Processor 8 { 9 /// <summary> 10 /// Processor policy. 11 /// For Processor type Default and Hosted they mean the same as PowerShell ExecutionPolicy. 12 /// https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies. 13 /// </summary> 14 public enum PowerShellConfigurationProcessorPolicy 15 { 16 /// <summary> 17 /// Unrestricted. 18 /// </summary> 19 Unrestricted = 0, 20 21 /// <summary> 22 /// RemoteSigned. 23 /// </summary> 24 RemoteSigned = 1, 25 26 /// <summary> 27 /// AllSigned. 28 /// </summary> 29 AllSigned = 2, 30 31 /// <summary> 32 /// Restricted. 33 /// </summary> 34 Restricted = 3, 35 36 /// <summary> 37 /// Bypass. 38 /// </summary> 39 Bypass = 4, 40 41 /// <summary> 42 /// Undefined. 43 /// </summary> 44 Undefined = 5, 45 46 /// <summary> 47 /// Default. 48 /// </summary> 49 Default = RemoteSigned, 50 } 51 }