Skip to content

Commit 3b4b33f

Browse files
authored
Fix module path for 5.1 (#11468)
1 parent 5d0ff81 commit 3b4b33f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_PSModulePath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: The PSModulePath environment variable contains a list of folder locations that are searched to find modules and resources.
33
Locale: en-US
4-
ms.date: 10/09/2024
4+
ms.date: 10/14/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_PSModulePath?view=powershell-5.1&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_PSModulePath
@@ -24,7 +24,7 @@ By default, the effective locations assigned to `$env:PSModulePath` are:
2424
- Modules installed in the **CurrentUser** scope are stored in
2525
`$HOME\Documents\WindowsPowerShell\Modules`.
2626
- Modules installed in the **AllUsers** scope are stored in
27-
`$env:ProgramFiles\PowerShell\Modules`.
27+
`$env:ProgramFiles\WindowsPowerShell\Modules`.
2828
- Modules that ship with Windows PowerShell stored in `$PSHOME\Modules`, which
2929
is `$env:SystemRoot\System32\WindowsPowerShell\1.0\Modules`.
3030

reference/7.2/Microsoft.PowerShell.Core/About/about_PSModulePath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: The PSModulePath environment variable contains a list of folder locations that are searched to find modules and resources.
33
Locale: en-US
4-
ms.date: 10/09/2024
4+
ms.date: 10/14/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_PSModulePath?view=powershell-7.2&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_PSModulePath
@@ -48,7 +48,7 @@ The default locations for Windows PowerShell 5.1 are different from PowerShell
4848
- Modules installed in the **CurrentUser** scope are stored in
4949
`$HOME\Documents\WindowsPowerShell\Modules`.
5050
- Modules installed in the **AllUsers** scope are stored in
51-
`$env:ProgramFiles\PowerShell\Modules`.
51+
`$env:ProgramFiles\WindowsPowerShell\Modules`.
5252
- Modules that ship with Windows PowerShell stored in `$PSHOME\Modules`, which
5353
is `$env:SystemRoot\System32\WindowsPowerShell\1.0\Modules`.
5454

reference/7.4/Microsoft.PowerShell.Core/About/about_PSModulePath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: The PSModulePath environment variable contains a list of folder locations that are searched to find modules and resources.
33
Locale: en-US
4-
ms.date: 10/09/2024
4+
ms.date: 10/14/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_PSModulePath?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_PSModulePath
@@ -48,7 +48,7 @@ The default locations for Windows PowerShell 5.1 are different from PowerShell
4848
- Modules installed in the **CurrentUser** scope are stored in
4949
`$HOME\Documents\WindowsPowerShell\Modules`.
5050
- Modules installed in the **AllUsers** scope are stored in
51-
`$env:ProgramFiles\PowerShell\Modules`.
51+
`$env:ProgramFiles\WindowsPowerShell\Modules`.
5252
- Modules that ship with Windows PowerShell stored in `$PSHOME\Modules`, which
5353
is `$env:SystemRoot\System32\WindowsPowerShell\1.0\Modules`.
5454

reference/7.5/Microsoft.PowerShell.Core/About/about_PSModulePath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: The PSModulePath environment variable contains a list of folder locations that are searched to find modules and resources.
33
Locale: en-US
4-
ms.date: 10/09/2024
4+
ms.date: 10/14/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_PSModulePath?view=powershell-7.5&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_PSModulePath
@@ -48,7 +48,7 @@ The default locations for Windows PowerShell 5.1 are different from PowerShell
4848
- Modules installed in the **CurrentUser** scope are stored in
4949
`$HOME\Documents\WindowsPowerShell\Modules`.
5050
- Modules installed in the **AllUsers** scope are stored in
51-
`$env:ProgramFiles\PowerShell\Modules`.
51+
`$env:ProgramFiles\WindowsPowerShell\Modules`.
5252
- Modules that ship with Windows PowerShell stored in `$PSHOME\Modules`, which
5353
is `$env:SystemRoot\System32\WindowsPowerShell\1.0\Modules`.
5454

0 commit comments

Comments
 (0)