Policy

Set the default source path for Update-Help

This policy setting allows you to set the default value of the SourcePath parameter on the Update-Help cmdlet. If you enable this policy setting, the Update-Help cmdlet will use the specified value as the default value for the SourcePath parameter. This default value can be overridden by specifying a different value with the SourcePath parameter on the Update-Help cmdlet. If this policy setting is disabled or not configured, this policy setting does not set a default value for the SourcePath parameter of the Update-Help cmdlet. Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Policy
Pack Microsoft Windows
Category Windows Components / Windows PowerShell
Policy ID 6fb5c01b2c71
Internal name EnableUpdateHelpDefaultSourcePath

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\EnableUpdateHelpDefaultSourcePath (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\EnableUpdateHelpDefaultSourcePath (disabled) = 0
HKCU\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\EnableUpdateHelpDefaultSourcePath (enabled) = 1
HKCU\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\EnableUpdateHelpDefaultSourcePath (disabled) = 0
HKLM\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\DefaultSourcePath
HKCU\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp\DefaultSourcePath

Policy notes

This policy setting allows you to set the default value of the SourcePath parameter on the Update-Help cmdlet. If you enable this policy setting, the Update-Help cmdlet will use the specified value as the default value for the SourcePath parameter. This default value can be overridden by specifying a different value with the SourcePath parameter on the Update-Help cmdlet. If this policy setting is disabled or not configured, this policy setting does not set a default value for the SourcePath parameter of the Update-Help cmdlet. Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Related policies