How to Change Secondary/Multi-line (>>) Prompt for PowerShell

use*_*142 5 powershell prompt multiline ps2

I've found plenty of instructions for changing the primary PowerShell prompt (i.e. prompt(); here is an example of one of the many helpful resources: http://blog.dabasinskas.net/customizing-windows-powershell-command-prompt/) which is great, but I haven't been able to find anything concerning how to change the secondary/multi-line prompt (>>), or the Windows equivalent of the $PS2 string on Linux/Unix systems.

Here is an example of a change,

[current_directory] $   `
>>
Run Code Online (Sandbox Code Playgroud)

from >> to $

[current_directory] $   `
$
Run Code Online (Sandbox Code Playgroud)

Thanks.

Kir*_*kov -1

您可以使用重音符号(或反引号):

PS C:\> Get-Service `
>> -name audiosrv
Run Code Online (Sandbox Code Playgroud)