PowerTip: Pause a PowerShell Script


Summary: Learn how to pause a Windows PowerShell script.

Hey, Scripting Guy! Question How can I pause a Windows PowerShell script?

Hey, Scripting Guy! Answer In Windows PowerShell 3.0 use the pause function, as shown here.

23:10 C:\> pause

Press Enter to continue…:

23:11 C:\>


Comments are closed. Login to edit/delete your existing comments