Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Chainging PowerShell Console's location on the screen/

$
0
0

I just saw a question over on Facebook which is:

Hey guys Can anyone help?
I have been following this http://technet.microsoft.com/e​n-us/library/ee156814.aspx
But am having trouble Appling the same to window position
$a = (get-host).UI.RawUI
$b = $a.windowposition
$b.x = 0
$b.y = 0
$a.windowposition = $b
Any ideas?

I played with his code and can duplicate his findings. Change the X, Y positions do not make the console move.

Any ideas how to achieve this?


Viewing all articles
Browse latest Browse all 6937

Trending Articles