Showing results for V2QuickTip - PowerShell Team

May 20, 2009
0
0

V2 Quick Tips: Finding Extra Outputs From Your Script

PowerShell Team
PowerShell Team

One of the nifty features of functions in PowerShell is that they can return as many results from as many places as you’d like.  In fact, any method or cmdlet that would give you an output if you try it on the command line will also return values from a function.  While this can give you a lot of powerful capabilities (like easily buildin...

CTP3V2QuickTip
Apr 22, 2009
0
0

V2 Quick Tip: Starting a new elevated process from a PowerShell script

PowerShell Team
PowerShell Team

One of the systems administration hurdles of the post-Vista world is figuring out how to make a script run as an administrator. In PowerShell V2, using the Start-Process cmdlet, this is a one liner that will get the job done: Hope this Helps, James Brundage [MSFT]

CTP3V2QuickTip
Apr 21, 2009
0
0

V2 Quick Tip: Monitoring Performance Counters with PowerShell

PowerShell Team
PowerShell Team

I just got a ping on our internal discussion list about how to get at the Performance counters in PowerShell.  In V2, we've got some nifty cmdlets to help read performance counters. Here are a few of quick one liners to get you started: Hope this Helps, James Brundage [MSFT]

CTP3V2QuickTip