@@ -83,7 +83,7 @@ Policy settings are used by administrators to centrally manage PowerShell.
8383| Location | Policy settings | Regular settings |
8484| --------------| -----------------------------------------------------------| ------------------------------------------------------------|
8585| File section | "PowerShell": { "PolicySettings": {...} } | "PowerShell": { "RegularSettings": {...} } |
86- | Registry key | Software\Policies\PowerShellCore | Not Applicable |
86+ | Registry key | Software\Policies\Microsoft\ PowerShellCore | Not Applicable |
8787
8888### Policy settings Setting Fall-Back
8989
@@ -95,7 +95,7 @@ Help to transition from Windows PowerShell to PowerShell 7.
9595
9696For Policy Settings,
9797each policy should have a ` Use Windows PowerShell Policy ` which will indicate that the policy should the read from
98- ` SOFTWARE\Policies\Microsoft\Windows\PowerShell ` instead of ` Software\Policies\PowerShellCore ` .
98+ ` SOFTWARE\Policies\Microsoft\Windows\PowerShell ` instead of ` Software\Policies\Microsoft\ PowerShellCore ` .
9999The default in Group Policy is to have no policy, so it would not fall back to Windows PowerShell Policy, or apply PowerShell 7 policy.
100100
101101### Precedence of applying settings
@@ -108,8 +108,8 @@ Note, this is listed as `Computer, Then User` in [Registry keys and settings](#r
108108
109109| Scheme | Windows | Unix |
110110| -----------------------------| ------------------------------------------------------| ------------------------------------------------------|
111- | GPO -> Computer Policy | HKLM\Software\Policies\PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
112- | GPO -> User Policy | HKCU\Software\Policies\PowerShellCore | %XDG_CONFIG_HOME%/powershell.config.json |
111+ | GPO -> Computer Policy | HKLM\Software\Policies\Microsoft\ PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
112+ | GPO -> User Policy | HKCU\Software\Policies\Microsoft\ PowerShellCore | %XDG_CONFIG_HOME%/powershell.config.json |
113113| File -> Application-Startup | pwsh -settingsfile ` somepath/powershell.config.json ` | pwsh -settingsfile ` somepath/powershell.config.json ` |
114114| File -> Computer-Wide | See [ Moving configuration out of PSHome] [ moving ] | [ Moving configuration out of PSHome] [ moving ] |
115115| File -> User-Wide | %APPDATA%/powershell.config.json | %XDG_CONFIG_HOME%/powershell.config.json |
@@ -144,8 +144,8 @@ Note, this is listed as `User, then Computer` in [Registry keys and settings](#r
144144
145145| Scheme | Windows | Unix |
146146| -----------------------------| ------------------------------------------------------| ------------------------------------------------------|
147- | GPO -> User Config | HKCU\Software\PowerShellCore | %XDG_CONFIG_HOME%/powershell.config.json |
148- | GPO -> Computer Config | HKLM\Software\PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
147+ | GPO -> User Config | HKCU\Software\Policies\Microsoft\ PowerShellCore | %XDG_CONFIG_HOME%/powershell.config.json |
148+ | GPO -> Computer Config | HKLM\Software\Policies\Microsoft\ PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
149149| File -> Application-Startup | pwsh -settingsfile ` somepath/powershell.config.json ` | pwsh -settingsfile ` somepath/powershell.config.json ` |
150150| File -> User-Wide | %APPDATA%\powershell.config.json | %XDG_CONFIG_HOME%/powershell.config.json |
151151| File -> Computer-Wide | See [ Moving configuration out of PSHome] [ moving ] | /opt/Microsoft/powershell/powershell.config.json |
@@ -156,7 +156,7 @@ Note, this is listed as `Computer` in [Registry keys and settings](#registry-key
156156
157157| Scheme | Windows | Unix |
158158| -----------------------------| ------------------------------------------------------| ------------------------------------------------------|
159- | GPO -> Computer Config | HKLM\Software\PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
159+ | GPO -> Computer Config | HKLM\Software\Policies\Microsoft\ PowerShellCore | See [ Moving configuration out of PSHome] [ moving ] |
160160| File -> Application-Startup | pwsh -settingsfile ` somepath/powershell.config.json ` | pwsh -settingsfile ` somepath/powershell.config.json ` |
161161| File -> Computer-Wide | See [ Moving configuration out of PSHome] [ moving ] | /opt/Microsoft/powershell/powershell.config.json |
162162
@@ -168,7 +168,7 @@ A set of configuration settings in GPO scheme and file scheme for policy setting
168168
169169Notes:
170170
171- - All policies are in ` Software\Policies\PowerShellCore ` .
171+ - All policies are in ` Software\Policies\Microsoft\ PowerShellCore ` .
172172- ` ExecutionPolicy ` is not in any SubKey.
173173
174174| SubKey | Option | Type | Precedence |
0 commit comments