Browse by Tags

Tagged Content List
  • Blog Post: V2 Quick Tips: Finding Extra Outputs From Your Script

    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...
  • Blog Post: V2 Quick Tip: Starting a new elevated process from a PowerShell script

    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: Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList...
  • Blog Post: V2 Quick Tip: Monitoring Performance Counters with PowerShell

    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: # List all of the performance counters you can monitor Get...
Page 1 of 1 (3 items)