Feature Flags
Disable features within PowerShell Universal.
Last updated
Disable features within PowerShell Universal.
Last updated
Copyright 2024 Ironman Software
Using feature flags, you can disable features that you don't use to simplify your deployments. This can be useful to make the platform easier to use and reduce attack vectors from a security standpoint.
To disable built-in features, you can use the -DisabledFeatures
parameter of Set-PSUSetting
.
Once a feature has been disabled, it will no longer appear in the admin console.
More importantly, disabled features will be completely disabled in the PowerShell Universal server. The Management APIs will no longer function, and the configuration scripts will not be run.
Features that can be disabled include:
API
Scripts
Terminals
Dashboards
Pages
RateLimiting
PublishedFolders
Templates
Protect
Experimental features are disabled by default. To enable an experiment feature, use the -ExperimentalFeatures
parameter of Set-PSUSetting
.
Experimental features may not have a user interface component when enabled.
Experimental features that can be enabled include:
C# APIs