Skip to content

Commit

Permalink
Must be an admin to start a service (#11472)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Oct 15, 2024
1 parent 3b4b33f commit 81ffa0d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/27/2023
ms.date: 10/15/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Start-Service
Expand Down Expand Up @@ -281,8 +281,9 @@ Windows PowerShell includes the following aliases for `Start-Service`:

- `sasv`

- `Start-Service` can control services only if the current user has permission to do this. If a
command does not work correctly, you might not have the required permissions.
- By default, only members of the Administrators group can start, stop, pause, resume, or restart a
service. If you are a member of the Administrators group, you need to run `Start-Service` from an
elevated PowerShell session. Use the **Run as Administrator** option to start PowerShell.
- To find the service names and display names of the services on your system, type `Get-Service`.
The service names appear in the **Name** column, and the display names appear in the
**DisplayName** column.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/27/2023
ms.date: 10/15/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Start-Service
Expand Down Expand Up @@ -286,8 +286,9 @@ PowerShell includes the following aliases for `Start-Service`:

This cmdlet is only available on Windows platforms.

- `Start-Service` can control services only if the current user has permission to do this. If a
command does not work correctly, you might not have the required permissions.
- By default, only members of the Administrators group can start, stop, pause, resume, or restart a
service. If you are a member of the Administrators group, you need to run `Start-Service` from an
elevated PowerShell session. Use the **Run as Administrator** option to start PowerShell.
- To find the service names and display names of the services on your system, type `Get-Service`.
The service names appear in the **Name** column, and the display names appear in the
**DisplayName** column.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/27/2023
ms.date: 10/15/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Start-Service
Expand Down Expand Up @@ -286,8 +286,9 @@ PowerShell includes the following aliases for `Start-Service`:

This cmdlet is only available on Windows platforms.

- `Start-Service` can control services only if the current user has permission to do this. If a
command does not work correctly, you might not have the required permissions.
- By default, only members of the Administrators group can start, stop, pause, resume, or restart a
service. If you are a member of the Administrators group, you need to run `Start-Service` from an
elevated PowerShell session. Use the **Run as Administrator** option to start PowerShell.
- To find the service names and display names of the services on your system, type `Get-Service`.
The service names appear in the **Name** column, and the display names appear in the
**DisplayName** column.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 01/27/2023
ms.date: 10/15/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Start-Service
Expand Down Expand Up @@ -286,8 +286,9 @@ PowerShell includes the following aliases for `Start-Service`:

This cmdlet is only available on Windows platforms.

- `Start-Service` can control services only if the current user has permission to do this. If a
command does not work correctly, you might not have the required permissions.
- By default, only members of the Administrators group can start, stop, pause, resume, or restart a
service. If you are a member of the Administrators group, you need to run `Start-Service` from an
elevated PowerShell session. Use the **Run as Administrator** option to start PowerShell.
- To find the service names and display names of the services on your system, type `Get-Service`.
The service names appear in the **Name** column, and the display names appear in the
**DisplayName** column.
Expand Down

0 comments on commit 81ffa0d

Please sign in to comment.