#1 03 Apr 2009 11:30

*SCRIPTER*
Member
Registered: 17 Mar 2009
Posts: 48
Website

Get-Host.UI.RAWUI

I'm having a bit of trouble changing the the rawUI properties
for the window postion.
.\ps1 would be appreciated for this task.
I know the method
$a = (Get-Host).UI.RawUI
$b = (Stuck Here)
And if you could point me in the direction
Of how to obtain help on this subject
from the console, that would also be appreciated
Get-Help Get-Host -properties etc... something.....
I would like to position the window at 0
or better yet I just want the console full size
So I'm probably making this question harder
than it needs to be.
Thank you Thank you very much for your
time and expertise.


Batch files are the cancer we die with not of.

Offline

#2 05 Apr 2009 06:32

*SCRIPTER*
Member
Registered: 17 Mar 2009
Posts: 48
Website

Re: Get-Host.UI.RAWUI

Answered my own question...

(SomeStuff) | Get-Member :pc:


Batch files are the cancer we die with not of.

Offline

#3 07 Apr 2009 21:35

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 1,013
Website

Re: Get-Host.UI.RAWUI

I'm late to the party on this but the easy way to resize the Powershell is to just use the trusty MODE command

It works just fine in powershell and its not like you really need to pipe the result into something else, so I dont think it matters much that its not a 'proper' powershell command.

MODE con:cols=80 lines=35

Also ALT-Enter will switch into full screen just like CMD

Offline

#4 08 Apr 2009 06:53

*SCRIPTER*
Member
Registered: 17 Mar 2009
Posts: 48
Website

Re: Get-Host.UI.RAWUI

Thank You Very Much SIMON.
I'm just getting started using
Powershell and I really like what I'm
seeing, just have not as of yet found
the right resources.
Would you happen to have any
good starting suggestions?
And kudos on this site you have by far
some of the best resources online
Job well done :clap:


Batch files are the cancer we die with not of.

Offline

#5 08 Apr 2009 18:49

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 1,013
Website

Re: Get-Host.UI.RAWUI

see this page
http://ss64.com/links/pslinks.html

I'll add more as I find it

Offline

#6 09 Apr 2009 01:23

*SCRIPTER*
Member
Registered: 17 Mar 2009
Posts: 48
Website

Re: Get-Host.UI.RAWUI

Again Simon,
Thank You.
Those would be the resources
I'm looking for lol.
One Stop Shopping. big_smile


Batch files are the cancer we die with not of.

Offline

#7 09 Apr 2009 01:25

*SCRIPTER*
Member
Registered: 17 Mar 2009
Posts: 48
Website

Re: Get-Host.UI.RAWUI

*SCRIPTER* wrote:

And kudos on this site you have by far
some of the best resources online
Job well done :clap:

Quote Changed.
You Have The BEST Resources.


Batch files are the cancer we die with not of.

Offline

Board footer

Powered by FluxBB