$psHome
is an ordinary System.String
whose value points to the installation directory of PowerShell. C:\Windows\System32\WindowsPowerShell\v1.0
. Certificate.format.ps1xml | |
Diagnostics.Format.ps1xml | |
DotNetTypes.format.ps1xml | |
Event.Format.ps1xml | |
FileSystem.format.ps1xml | |
getevent.types.ps1xml | |
Help.format.ps1xml | |
HelpV3.format.ps1xml | |
powershell.config.json | |
powershell.exe | |
powershell.exe.config | |
PowerShellCore.format.ps1xml | |
PowerShellTrace.format.ps1xml | |
powershell_ise.exe | |
powershell_ise.exe.config | |
PSEvents.dll | |
pspluginwkr.dll | |
pwrshmsg.dll | |
pwrshsip.dll | |
Registry.format.ps1xml | |
types.ps1xml | |
typesv3.ps1xml | |
WSMan.Format.ps1xml |
*.format.ps1xml
are so-called formatting files. These files define how different .NET types are rendered at the end of a pipeline. $psHome
directory because the formatting instructions are included in the source code of the objects.