https://codesteps.com/2019/01/07/powershell-automatic-variables-host-home-pwd-and-error/
PowerShell - Automatic Variables - $HOST, $HOME, $PWD and $ERROR - CodeSteps
Feb 23, 2023 - PowerShell provides set of Automatic variables to get the information about home directory, current directory, host details and error details.
automatic variableshost homepowershellpwderror