Search notes:
psHome/powershell.config.json
Using the default
powershell.config.json
file can be overridden with PowerShell's
command line option -settingsFile …
.
An example for the content of powershell.config.json
is
{
"ExperimentalFeatures": [
"PSCommandNotFoundSuggestion",
"PSCultureInvariantReplaceOperator",
"PSImplicitRemotingBatching",
"PSNativePSPathResolution",
"PSNotApplyErrorActionToStderr",
"PSNullConditionalOperators",
"Microsoft.PowerShell.Utility.PSManageBreakpointsInRunspace",
"PSDesiredStateConfiguration.InvokeDscResource"
],
"WindowsPowerShellCompatibilityModuleDenyList": [
"PSScheduledJob",
"BestPractices",
"UpdateServices"
],
"Microsoft.PowerShell:ExecutionPolicy": "RemoteSigned"
}