Several of the following used paths are specific to the installed release (in this case, alpha 12).
As with PowerShell on Windows, the PSHOME variable shows where PowerShell itself has been installed:
PS> $PSHOME /opt/microsoft/powershell/6.0.0-alpha.12
The paths for module installation may be viewed using the environment variables:
PS> $env:PSMODULEPATH -split ':' /home/psuser/.local/share/powershell/Modules /usr/local/share/powershell/Modules /opt/microsoft/powershell/6.0.0-alpha.12/Modules
Case sensitivity
Linux has a much higher regard for case than Windows. Environment variables, file paths, executables, and so on, are case sensitive. The previously used variable name must be written in uppercase.
Use Get-ChildItem to list all of the environment variables using the following command:
Get-ChildItem env:
Linux has a much higher regard for case than Windows. Environment variables, file paths, executables, and so on, are case sensitive. The previously used variable name must be written in uppercase.
Use Get-ChildItem to list all of the environment variables using the following command:
Get-ChildItem env: