Skip to content

Commit 23027c2

Browse files
committed
Change value formatting to avoid overlocalization
1 parent 0f22f0d commit 23027c2

4 files changed

Lines changed: 48 additions & 45 deletions

File tree

reference/5.1/Microsoft.PowerShell.Management/Set-Service.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 03/20/2024
5+
ms.date: 02/04/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-Service
@@ -168,6 +168,7 @@ Name StartType
168168
spooler Automatic
169169
SQLWriter Automatic
170170
```
171+
171172
## PARAMETERS
172173

173174
### -ComputerName
@@ -291,18 +292,18 @@ Accept wildcard characters: False
291292

292293
Sets the startup type of the service. The acceptable values for this parameter are:
293294

294-
- **Automatic** - The service is started or was started by the operating system, at system start-up.
295+
- `Automatic` - The service is started or was started by the operating system, at system start-up.
295296
If an automatically started service depends on a manually started service, the manually started
296297
service is also started automatically at system startup.
297-
- **Disabled** - The service is disabled and cannot be started by a user or application.
298-
- **Manual** - The service is started only manually, by a user, using the Service Control Manager,
298+
- `Disabled` - The service is disabled and cannot be started by a user or application.
299+
- `Manual` - The service is started only manually, by a user, using the Service Control Manager,
299300
or by an application.
300-
- **Boot** - Indicates that the service is a device driver started by the system loader. This
301+
- `Boot` - Indicates that the service is a device driver started by the system loader. This
301302
value is valid only for device drivers.
302-
- **System** - Indicates that the service is a device driver started by the 'IOInitSystem()'
303+
- `System` - Indicates that the service is a device driver started by the 'IOInitSystem()'
303304
function. This value is valid only for device drivers.
304305

305-
The default value is **Automatic**.
306+
The default value is `Automatic`.
306307

307308
```yaml
308309
Type: System.ServiceProcess.ServiceStartMode
@@ -323,9 +324,9 @@ Specifies the status for the service.
323324

324325
The acceptable values for this parameter are as follows:
325326

326-
- **Paused**. Suspends the service.
327-
- **Running**. Starts the service.
328-
- **Stopped**. Stops the service.
327+
- `Paused`. Suspends the service.
328+
- `Running`. Starts the service.
329+
- `Stopped`. Stops the service.
329330

330331
```yaml
331332
Type: System.String

reference/7.4/Microsoft.PowerShell.Management/Set-Service.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 03/20/2024
5+
ms.date: 02/04/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-Service
@@ -224,18 +224,19 @@ SQLWriter Automatic
224224

225225
### -Credential
226226

227-
Specifies the account used by the service as the [Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
227+
Specifies the account used by the service as the
228+
[Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
228229

229230
Type a user name, such as **User01** or **Domain01\User01**, or enter a **PSCredential** object,
230231
such as one generated by the `Get-Credential` cmdlet. If you type a user name, this cmdlet prompts
231232
you for a password.
232233

233-
Credentials are stored in a [PSCredential](/dotnet/api/system.management.automation.pscredential)
234-
object and the password is stored as a [SecureString](/dotnet/api/system.security.securestring).
234+
Credentials are stored in a [PSCredential](xref:System.Management.Automation.PSCredential) object
235+
and the password is stored as a [SecureString](xref:System.Security.SecureString).
235236

236237
> [!NOTE]
237238
> For more information about **SecureString** data protection, see
238-
> [How secure is SecureString?](/dotnet/api/system.security.securestring#how-secure-is-securestring).
239+
> [How secure is SecureString?](xref:System.Security.SecureString#how-secure-is-securestring).
239240
240241
This parameter was introduced in PowerShell 6.0.
241242

@@ -390,14 +391,14 @@ Specifies the start mode of the service.
390391

391392
The acceptable values for this parameter are as follows:
392393

393-
- **Automatic** - The service is started or was started by the operating system, at system start-up.
394+
- `Automatic` - The service is started or was started by the operating system, at system start-up.
394395
If an automatically started service depends on a manually started service, the manually started
395396
service is also started automatically at system startup.
396-
- **AutomaticDelayedStart** - Starts shortly after the system boots.
397-
- **Disabled** - The service is disabled and cannot be started by a user or application.
398-
- **InvalidValue** - Has no effect. The cmdlet does not return an error but the StartupType of the
397+
- `AutomaticDelayedStart` - Starts shortly after the system boots.
398+
- `Disabled` - The service is disabled and cannot be started by a user or application.
399+
- `InvalidValue` - Has no effect. The cmdlet does not return an error but the StartupType of the
399400
service is not changed.
400-
- **Manual** - The service is started only manually, by a user, using the Service Control Manager,
401+
- `Manual` - The service is started only manually, by a user, using the Service Control Manager,
401402
or by an application.
402403

403404
```yaml
@@ -419,9 +420,9 @@ Specifies the status for the service.
419420

420421
The acceptable values for this parameter are as follows:
421422

422-
- **Paused**. Suspends the service.
423-
- **Running**. Starts the service.
424-
- **Stopped**. Stops the service.
423+
- `Paused`. Suspends the service.
424+
- `Running`. Starts the service.
425+
- `Stopped`. Stops the service.
425426

426427
```yaml
427428
Type: System.String

reference/7.5/Microsoft.PowerShell.Management/Set-Service.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 03/20/2024
5+
ms.date: 02/04/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-Service
@@ -391,14 +391,14 @@ Specifies the start mode of the service.
391391

392392
The acceptable values for this parameter are as follows:
393393

394-
- **Automatic** - The service is started or was started by the operating system, at system start-up.
394+
- `Automatic` - The service is started or was started by the operating system, at system start-up.
395395
If an automatically started service depends on a manually started service, the manually started
396396
service is also started automatically at system startup.
397-
- **AutomaticDelayedStart** - Starts shortly after the system boots.
398-
- **Disabled** - The service is disabled and cannot be started by a user or application.
399-
- **InvalidValue** - Has no effect. The cmdlet does not return an error but the StartupType of the
397+
- `AutomaticDelayedStart` - Starts shortly after the system boots.
398+
- `Disabled` - The service is disabled and cannot be started by a user or application.
399+
- `InvalidValue` - Has no effect. The cmdlet does not return an error but the StartupType of the
400400
service is not changed.
401-
- **Manual** - The service is started only manually, by a user, using the Service Control Manager,
401+
- `Manual` - The service is started only manually, by a user, using the Service Control Manager,
402402
or by an application.
403403

404404
```yaml
@@ -420,9 +420,9 @@ Specifies the status for the service.
420420

421421
The acceptable values for this parameter are as follows:
422422

423-
- **Paused**. Suspends the service.
424-
- **Running**. Starts the service.
425-
- **Stopped**. Stops the service.
423+
- `Paused`. Suspends the service.
424+
- `Running`. Starts the service.
425+
- `Stopped`. Stops the service.
426426

427427
```yaml
428428
Type: System.String

reference/7.6/Microsoft.PowerShell.Management/Set-Service.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 03/20/2024
5+
ms.date: 02/04/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-Service
@@ -224,18 +224,19 @@ SQLWriter Automatic
224224

225225
### -Credential
226226

227-
Specifies the account used by the service as the [Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
227+
Specifies the account used by the service as the
228+
[Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
228229

229230
Type a user name, such as **User01** or **Domain01\User01**, or enter a **PSCredential** object,
230231
such as one generated by the `Get-Credential` cmdlet. If you type a user name, this cmdlet prompts
231232
you for a password.
232233

233-
Credentials are stored in a [PSCredential](/dotnet/api/system.management.automation.pscredential)
234-
object and the password is stored as a [SecureString](/dotnet/api/system.security.securestring).
234+
Credentials are stored in a [PSCredential](xref:System.Management.Automation.PSCredential) object
235+
and the password is stored as a [SecureString](xref:System.Security.SecureString).
235236

236237
> [!NOTE]
237238
> For more information about **SecureString** data protection, see
238-
> [How secure is SecureString?](/dotnet/api/system.security.securestring#how-secure-is-securestring).
239+
> [How secure is SecureString?](xref:System.Security.SecureString#how-secure-is-securestring).
239240
240241
This parameter was introduced in PowerShell 6.0.
241242

@@ -390,14 +391,14 @@ Specifies the start mode of the service.
390391

391392
The acceptable values for this parameter are as follows:
392393

393-
- **Automatic** - The service is started or was started by the operating system, at system start-up.
394+
- `Automatic` - The service is started or was started by the operating system, at system start-up.
394395
If an automatically started service depends on a manually started service, the manually started
395396
service is also started automatically at system startup.
396-
- **AutomaticDelayedStart** - Starts shortly after the system boots.
397-
- **Disabled** - The service is disabled and cannot be started by a user or application.
398-
- **InvalidValue** - Has no effect. The cmdlet does not return an error but the StartupType of the
397+
- `AutomaticDelayedStart` - Starts shortly after the system boots.
398+
- `Disabled` - The service is disabled and cannot be started by a user or application.
399+
- `InvalidValue` - Has no effect. The cmdlet does not return an error but the StartupType of the
399400
service is not changed.
400-
- **Manual** - The service is started only manually, by a user, using the Service Control Manager,
401+
- `Manual` - The service is started only manually, by a user, using the Service Control Manager,
401402
or by an application.
402403

403404
```yaml
@@ -419,9 +420,9 @@ Specifies the status for the service.
419420

420421
The acceptable values for this parameter are as follows:
421422

422-
- **Paused**. Suspends the service.
423-
- **Running**. Starts the service.
424-
- **Stopped**. Stops the service.
423+
- `Paused`. Suspends the service.
424+
- `Running`. Starts the service.
425+
- `Stopped`. Stops the service.
425426

426427
```yaml
427428
Type: System.String

0 commit comments

Comments
 (0)