You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($_.Service.ServiceType-eq'Engine'-and$_.ServiceExitCode-eq3) {
213
-
Write-Message-Level Warning -Message "($target) Run the command with '-Force' switch to force the restart of a dependent SQL Agent"-Target $target
213
+
Write-Message-Level Warning -Message "($target) Run the command with '-Force' switch to force the restart of dependent services (SQL Agent, PolyBase)"-Target $target
Copy file name to clipboardExpand all lines: public/Start-DbaService.ps1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ function Start-DbaService {
4
4
Starts SQL Server related services across multiple computers while respecting service dependencies.
5
5
6
6
.DESCRIPTION
7
-
Starts SQL Server services (Engine, Agent, Browser, FullText, SSAS, SSIS, SSRS) on one or more computers following proper dependency order. This function handles the complexity of starting services in the correct sequence so you don't have to manually determine which services depend on others. Commonly used after maintenance windows, server reboots, or when troubleshooting stopped services across an environment.
7
+
Starts SQL Server services (Engine, Agent, Browser, FullText, SSAS, SSIS, SSRS, PolyBase, Launchpad) on one or more computers following proper dependency order. This function handles the complexity of starting services in the correct sequence so you don't have to manually determine which services depend on others. Commonly used after maintenance windows, server reboots, or when troubleshooting stopped services across an environment.
8
8
9
9
Requires Local Admin rights on destination computer(s).
10
10
@@ -25,7 +25,7 @@ function Start-DbaService {
25
25
Credential object used to connect to the computer as a different user.
26
26
27
27
.PARAMETERType
28
-
Filters to specific SQL Server service types rather than starting all services. Valid types: Agent, Browser, Engine, FullText, SSAS, SSIS, SSRS.
28
+
Filters to specific SQL Server service types rather than starting all services. Valid types: Agent, Browser, Engine, FullText, SSAS, SSIS, SSRS, PolyBase, Launchpad.
29
29
Use this when you need to start only specific service types, such as starting just SQL Agent after maintenance or only SSRS services on reporting servers.
Copy file name to clipboardExpand all lines: public/Stop-DbaService.ps1
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ function Stop-DbaService {
4
4
Stops SQL Server-related Windows services with proper dependency handling.
5
5
6
6
.DESCRIPTION
7
-
Stops SQL Server services including Database Engine, SQL Agent, Reporting Services, Analysis Services, Integration Services, and other components across one or more computers. Automatically handles service dependencies to prevent dependency conflicts during shutdown operations.
7
+
Stops SQL Server services including Database Engine, SQL Agent, Reporting Services, Analysis Services, Integration Services, PolyBase, Launchpad, and other components across one or more computers. Automatically handles service dependencies to prevent dependency conflicts during shutdown operations.
8
8
9
9
Particularly useful for planned maintenance windows, troubleshooting service issues, or preparing servers for patching and reboots. The Force parameter allows stopping dependent services automatically, which is essential when stopping Database Engine services that have SQL Agent dependencies.
10
10
@@ -29,7 +29,7 @@ function Stop-DbaService {
29
29
Credential object used to connect to the computer as a different user.
30
30
31
31
.PARAMETERType
32
-
Filters which SQL Server service types to stop. Valid options: Agent, Browser, Engine, FullText, SSAS, SSIS, SSRS.
32
+
Filters which SQL Server service types to stop. Valid options: Agent, Browser, Engine, FullText, SSAS, SSIS, SSRS, PolyBase, Launchpad.
33
33
Use this when you need to stop specific service types across instances, such as stopping all SQL Agent services for patching while keeping Database Engine services running.
0 commit comments