Search found 22 matches

by jeremyg
Thu Jul 17, 2008 4:01 am
Forum: PowerShell
Topic: Stupid Question? Cant execute method.
Replies: 12
Views: 5271

Stupid Question? Cant execute method.

I kind of figured the "b" was a typo, but I didnt want to doubt someone who obviously knows 10x more than I. hehe very cool! I think i'm going to end up using this little trick many times! Is there any particular reason you used the {} around the code? I tried it with "quotes" and seems to work equa...
by jeremyg
Wed Jul 16, 2008 8:37 am
Forum: PowerShell
Topic: Stupid Question? Cant execute method.
Replies: 12
Views: 5271

Stupid Question? Cant execute method.

Now THAT is interesting!!!

However I don't quite understand the addition of the & and b in "&sb".
by jeremyg
Wed Jul 16, 2008 12:39 am
Forum: PowerShell
Topic: absolute beginner help please!!!!
Replies: 6
Views: 3526

absolute beginner help please!!!!

And if you want to only have the filename in the text file (and not other file info): get-childitem -path <mypath> -recurse | where{$_.lastwritetime -gt "6/1/2008"} | format-table -property name > samplefile.txt Also, since you're learning, I recommend using full commands as much as possible so that...
by jeremyg
Tue Jul 15, 2008 11:40 am
Forum: PowerShell
Topic: Stupid Question? Cant execute method.
Replies: 12
Views: 5271

Stupid Question? Cant execute method.

ahhh that is disheartening. I'm trying to do everything possible with "native" powershell stuff....just for the learning process. Then again I suppose learning what *can't* be done is just as good.
by jeremyg
Mon Jul 14, 2008 11:19 am
Forum: PowerShell
Topic: Stupid Question? Cant execute method.
Replies: 12
Views: 5271

Stupid Question? Cant execute method.

I've just starting playing with Powershell again after several months of having no free time. Came across something I don't understand and I'm probably just missing something obvious. First I type: $a = get-service spooler Then I type: $a | get-member I see all the members of the spooler service inc...
by jeremyg
Mon Jul 14, 2008 11:19 am
Forum: PowerShell
Topic: Stupid Question? Cant execute method.
Replies: 12
Views: 5271

Stupid Question? Cant execute method.

I've just starting playing with Powershell again after several months of having no free time. Came across something I don't understand and I'm probably just missing something obvious. First I type: $a = get-service spooler Then I type: $a | get-member I see all the members of the spooler service inc...
by jeremyg
Mon Mar 24, 2008 3:07 am
Forum: PowerShell
Topic: Different Color for Command vs Output?
Replies: 5
Views: 6330

Different Color for Command vs Output?

Thanks for all your answers....now to find the free time....
by jeremyg
Mon Mar 24, 2008 1:39 am
Forum: PowerShell
Topic: Different Color for Command vs Output?
Replies: 5
Views: 6330

Different Color for Command vs Output?

Very interesting, I didn't know this existed in the v2 CTP. I suppose I have to migrate to using only the CTP in order to not limit myself....since by the time Powershell REALLY takes hold, v2 will be common place. is it totally stable? I think i'm going to stick to the out-GridView, since I dont li...
by jeremyg
Mon Mar 24, 2008 12:48 am
Forum: PowerShell
Topic: Different Color for Command vs Output?
Replies: 5
Views: 6330

Different Color for Command vs Output?

Yea I know :) However my goal with powershell is to not only script it, but to use it "live" to be a REALLY good admin, as was the case in the 90's when people who could work in DOS were miles above people who had to click through all the GUI's (i might even argue that they weren't REAL admins) The ...
by jeremyg
Mon Mar 24, 2008 12:28 am
Forum: PowerShell
Topic: Different Color for Command vs Output?
Replies: 5
Views: 6330

Different Color for Command vs Output?

I'm actually using PowerShell plus. I've tried several methods of changing the output text. For the prompt function i've changed color using the write-host with -foreground color, and I've used $host.ui.RawUI.foreground color. But no matter the combination I use, I cant seem to get the output color ...