List Tabular Output in a Command Window

Retrieves service data from a computer, and then outputs that data in tabular format in a command window.

 
 
 
 
 
4 Star
(1)
Add to favorites
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • PowerShell style! Please comment!
    1 Posts | Last post April 09, 2010
    • gwmi Win32_Service | sort state,startmode,Name | % {
      $Spacer = 26 - ($_.state.length + $_.StartMode.length)
      write-host $_.State $_.StartMode $("." * $Spacer) $_.Name "-" $_.DisplayName
      }