diff --git a/src/System.Management.Automation/engine/InitialSessionState.cs b/src/System.Management.Automation/engine/InitialSessionState.cs index 8d9b01ad13..bf7748924f 100644 --- a/src/System.Management.Automation/engine/InitialSessionState.cs +++ b/src/System.Management.Automation/engine/InitialSessionState.cs @@ -4762,8 +4762,22 @@ end { internal const string DefaultPromptFunctionText = @" ""PS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) ""; +# .ForwardHelpTargetName about_Prompts +# .SYNOPSIS +# The PowerShell command prompt indicates +# that PowerShell is ready to run a command. +# .DESCRIPTION +# To customize the prompt, write a new Prompt function. +# The function is not protected, so you can overwrite it. +# .OUTPUTS +# The Prompt function must return an object. +# As a best practice, return a string +# or an object that is formatted as a string. +# The maximum recommended length is 80 characters. # .Link -# https://go.microsoft.com/fwlink/?LinkID=225750 +# https://go.microsoft.com/fwlink/?LinkId=2136843 +# .Link +# about_Prompts # .ExternalHelp System.Management.Automation.dll-help.xml "; diff --git a/test/powershell/engine/Help/assets/HelpURI/V2Cmdlets.csv b/test/powershell/engine/Help/assets/HelpURI/V2Cmdlets.csv index a88e715c34..5e4a34b592 100644 --- a/test/powershell/engine/Help/assets/HelpURI/V2Cmdlets.csv +++ b/test/powershell/engine/Help/assets/HelpURI/V2Cmdlets.csv @@ -151,7 +151,7 @@ Out-Null,https://go.microsoft.com/fwlink/?linkid=2096792 Out-Printer,https://go.microsoft.com/fwlink/?LinkID=2109553 Out-String,https://go.microsoft.com/fwlink/?linkid=2097024 Pop-Location,https://go.microsoft.com/fwlink/?linkid=2096907 -Prompt,https://go.microsoft.com/fwlink/?LinkID=225750 +Prompt,https://go.microsoft.com/fwlink/?LinkId=2136843 Push-Location,https://go.microsoft.com/fwlink/?linkid=2097105 Read-Host,https://go.microsoft.com/fwlink/?linkid=2096610 Receive-Job,https://go.microsoft.com/fwlink/?linkid=2096965