Search notes:

Powershell module WinConfig: add-dirToPath

add-dirToPath adds a directory to user's or machine's PATH or PSModulePath environment variable.
add-dirToPath $pwd
add-dirToPath $pwd -machine
add-dirToPath $pwd -psModulePath

See also

This function is found in the PowerShell module WinConfig.

Index