Syntax Question

I’m having a brain lapse here. Â It has been a long day I guess.

Get-Service -servicename 'bits' | select status

Returns a column header Status with Running.

I just want to return Running. Â I need to drop the header.

I know this works

(Get-Service -servicename 'bits').status

I cannot do that because I need to return a bunch of stuff.

What about this?

Get-Service -servicename 'bits' | select  -expan status


[quote=4385]What about this?


Get-Service -servicename ‘bits’ | select -expan status





Winner, winner, chicken dinner! Â Thank you. Â Like I said, long day.