![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | powershell terminal sometimes need a C/R for output Hi, Sometimes when running a PS script which has output, it hangs until I hit an enter key. There is no requirement for input but it just waits. Then when I hit enter, all output comes out. Has anyone experienced this? The script simplies just does a mbsacli to a server to query security patches. Thanks in advance, |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: powershell terminal sometimes need a C/R for output On May 24, 9:53 am, Frank <F...@discussions.microsoft.com> wrote: > Hi, > > Sometimes when running a PS script which has output, it hangs until I hit an > enter key. There is no requirement for input but it just waits. Then when I > hit enter, all output comes out. Has anyone experienced this? The script > simplies just does a mbsacli to a server to query security patches. > > Thanks in advance, i might be leading you down the wrong path, but this could be the problem when doing multiple line script/commands whether by typing in, or copy paste.. if powershell knows that it isn't complete, rather than trying to run it, it will prompt with >> so you can type in more.. so you simply have to do another enter to tell powershell that you are done. |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cut the Output in Windows PowerShell | Irshad Ahmed | PowerShell | 7 | 02-13-2008 06:49 PM |
| Redirecting Output in Powershell | Jasmin | PowerShell | 7 | 11-23-2007 01:33 PM |
| Powershell output to Visual Basic 6 (VB6) | GodOfLions | PowerShell | 1 | 10-03-2007 04:09 PM |
| PowerShell access to AD user Terminal Services attributes | John Yarborough | PowerShell | 2 | 07-13-2007 08:05 AM |
| Terminal for PowerShell | Grzegorz Niemirowski | PowerShell | 5 | 11-20-2006 08:51 AM |