PowerShell Start/ stop service automation script - Part 1

preview_player
Показать описание
How to automate starting or stopping a windows service - Part 1
Рекомендации по теме
Комментарии
Автор

Love it. I need more PowerShell knowledge. Part two, please!

iant
Автор

Trying to create a similar script for my work! This was really helpful! Thank you.

ricardogonzalezespinoza
Автор

Please provide part 2 very useful and easy method thank you :)

sylvesterfernandes
Автор

but what about stopping startup apps how to stop startup apps with powershell ?

leminaz
Автор

Would be nice to see in the next section on how to create PS script to send a email to someone that be cool thanks

NitrousXProductions
Автор

I was trying to change startup type of an service from manual to automatic through powershell script but it was failing.
Command I used in script is
Set-Service -name servicename -StartUpType "Automatic".

Same I tried from automatic to manual it is working perfectly.

Help will be appreciated.

SurajSingh-vuiq
Автор

This would be suffixed as "part 0"

Very good, but basiv for the main propose suggested by the video's name.

dderudito
Автор

Hay I need a script for postgresql service start and stop on user machine with admin rights. Can you please do needful.

avatar
Автор

hi, i need part 2nd to stop service with admin right as a automated task.pleaase hel
p

renukashiramka