Good day! I’m new to Powershell and trying a few things.
Can anyone help me show Stopped Services and the output would be like:
(WinRM is Stopped) - something like this.
I use the below syntax but I need to show the name of the service and some sort of output beside it hence I put in the write-host “is Stopped” thinking that it will show the name of the service and the output “is Stopped” beside.
Thanks Olaf looks very good and shows the name and status… So basically we created a some sort of Property name to show the word “Is” right?
I was told that it should show the name of the service (running or stopped) and just some sort of output beside it. It look simple when my pal gave me the assignment to practice but looks like it is not that simple after all. Lol
Sorry Olaf I just starting out and its just been 2 days Just finished the CVT’s, reading books so need more practice.