Page 1 of 1

resize command line debug console

Posted: Tue Dec 04, 2018 10:25 am
by Philaubur
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Powershell Studio 2018 (SPS18Setup_5.5.155_100218_x64.exe)
32 or 64 bit version of product: 64 bits
Operating system: Windows 2012 R2
32 or 64 bit OS: 64 bits

*** Please add details and screenshots as needed below. ***
Hi,

On the debug console, one line can be write at a time.
I'm embarrassed, how can i write multiple lines ?

Regards,

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Re: resize command line debug console

Posted: Tue Dec 04, 2018 10:46 am
by davidc
The Debug console pane only supports single line entries. It was designed for simple one-liners to interrogate variables when the debugger was at a break point.

To get a better understanding, can you provide example of what you are trying to accomplish?

Re: resize command line debug console

Posted: Wed Dec 05, 2018 1:47 am
by Philaubur
For a best lisibility i wrote this command in several lines in my script ?
New-PSDrive `
-Name $NomProvider `
-PSProvider ActiveDirectory `
-Server $Domaine `
-Root "//RootDSE/" `
-Scope Global `
-credential $cred

To write it in the Debug console pane, i must transform it in one ligne.

That means a waste of time.

Re: resize command line debug console

Posted: Thu Dec 06, 2018 3:18 am
by Philaubur
Hi David,

I found !
you just have to select the lines of script concerned then with the right button of the mouse choose "to send on the console of debug".

Regards,