Thor Logo dbatools

Restart

Restart-DbaService

Kirill Kravtsov (@nvarscar)

Restart-DbaService View Source Kirill Kravtsov (@nvarscar) Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Restarts SQL Server services with proper dependency handling and service ordering. Description Restarts SQL Server services across multiple computers while automatically managing service dependencies and restart order. This function performs a controlled stop-then-restart sequence, ensuring that dependent services like SQL Agent are properly handled when restarting the Database Engine.

Read more