MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Creative Commons Attribution 4.0 International
1.96k stars 1.56k forks source link

Possibly outdated info in about_Automatic_Variables #11076

Closed yg-i closed 3 months ago

yg-i commented 3 months ago

Prerequisites

Links

Summary

On this page (https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.4/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md) under the subsection for $PSHome it is said that this automatic variable:

Contains the full path of the installation directory for PowerShell, typically, $env:windir\System32\PowerShell\v1.0 in Windows systems.

Is the 'typically, ...' statement still accurate for PS (Core)? On my machine, for example, $PSHome's value is C:\Program Files\PowerShell\7

Details

No response

Suggested Fix

No response