to sort in ascending order by status value
PS R:\> gsv | sort-object -property status
Stopped ... <---- sort mechanism takes this as integer value of '1'
Running ... <---- sort mechanism takes this as integer value of '4'
'gsv' is the built-in alias of 'get-service'
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment