Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

powershell terminal sometimes need a C/R for output

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 05-24-2007   #1 (permalink)
Frank
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 SpecsSystem Spec
Old 05-24-2007   #2 (permalink)
klumsy@xtra.co.nz
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 SpecsSystem Spec
Closed Thread

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


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51