How do I restart a Windows Powershell service?

How do I restart a Windows Powershell service?
Answer
Stop and then restart one or more services. Syntax Restart-Service { [-name] string[] | [-displayName] string[] | [-inputObject ServiceController[]] } [-force] [-include string[]] [-exclude string[]] [-passthru] [-whatIf] [-confirm] [CommonParameters] Key -name string The service names to be restarted.
 

Tìm kiếm

Back
Top