Get-Service
-
Tuesday, October 30, 2012 11:18 PM
How do I incorporate "get-service" into this script that will enable me to see the status (i.e., running, stopped) of the ccm_installedcomponent:
gwmi -namespace root\ccm -class ccm_installedcomponent -computername "." |
select-object status,displayname | ft
- Moved by Richard MuellerMVP, Moderator Wednesday, October 31, 2012 12:00 AM Scripting question (From:TechNet Wiki Discussion)
All Replies
-
Tuesday, October 30, 2012 11:59 PMModerator
This forum is for questions about the TechNet Wiki. You question should be asked in a scripting forum. I will move it to "The Scripting Guy's Forum".
Richard Mueller - MVP Directory Services
-
Wednesday, October 31, 2012 12:55 AMModerator
I don't believe you can.
An installed component is not a service.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
- Proposed As Answer by Richard MuellerMVP, Moderator Wednesday, October 31, 2012 8:12 PM
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Saturday, November 03, 2012 8:57 PM

