Learn how to configure your environment with powershell.config.json.
In this video, we look at how to use powershell.config.json to configure your PowerShell environment.
powershell.config.json
You can open your LocalMachine config with the following command.
LocalMachine
code (Join-Path $pshome "powershell.config.json")
To open your CurrentUser config, use the following command.
CurrentUser
code (Join-Path (Split-Path $PROFILE.CurrentUserCurrentHost) "powershell.config.json")
A sample config looks like this.
{ "Microsoft.PowerShell:ExecutionPolicy": "Unrestricted", "PSModulePath": "C:\\Modules", "ExperimentalFeatures": [ "PSCommandNotFoundSuggestion" ], "DisableImplicitWinCompat": true }
Links shown in this video include: