How to open the Windows environment variables dialog with PowerShell
function Get-EnvironmentVariablesDialog {
rundll32 sysdm.cpl,EditEnvironmentVariables
}
Set-Alias EnvGui Get-EnvironmentVariablesDialog
It takes waaaay too many clicks to open the Windows environment variables dialog. Wouldn't it be nicer to open it with a quick cli command?
profile.ps1
to your PowerShell profile script.Thanks to this guy for sharing the command that does the magic!