PowerShellConfigurationProcessorLocation.cs (1191B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="PowerShellConfigurationProcessorLocation.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 /// The location where modules are going to be installed. 11 /// </summary> 12 public enum PowerShellConfigurationProcessorLocation 13 { 14 /// <summary> 15 /// Current user path. 16 /// </summary> 17 CurrentUser = 0, 18 19 /// <summary> 20 /// AllUsers path. Requires admin. 21 /// </summary> 22 AllUsers = 1, 23 24 /// <summary> 25 /// The winget location %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules. 26 /// </summary> 27 WinGetModulePath = 2, 28 29 /// <summary> 30 /// Custom path. 31 /// </summary> 32 Custom = 3, 33 34 /// <summary> 35 /// Default. 36 /// </summary> 37 Default = WinGetModulePath, 38 } 39 }