Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing details about errors #10749

Closed
razvanpaul-mielcioiu opened this issue Dec 20, 2023 · 2 comments
Closed

missing details about errors #10749

razvanpaul-mielcioiu opened this issue Dec 20, 2023 · 2 comments
Labels
resolution-answered Status - closed by existing documentation

Comments

@razvanpaul-mielcioiu
Copy link

Type of issue

Missing information

Feedback

if I run Get-Service -Name $tool and the service doesn't exist it will throw an error. There is nothing specified in the documentation about how should I handle that case.

Page URL

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-service?view=powershell-7.4

Content source URL

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.4/Microsoft.PowerShell.Management/Get-Service.md

Author

@sdwheeler

Document Id

da38e71d-c9ac-c21d-8cc2-d90f4a51040f

@razvanpaul-mielcioiu razvanpaul-mielcioiu added the needs-triage Waiting - Needs triage label Dec 20, 2023
@sdwheeler sdwheeler added resolution-answered Status - closed by existing documentation and removed needs-triage Waiting - Needs triage labels Dec 20, 2023
@razvanpaul-mielcioiu
Copy link
Author

Specifically for Get-Service often enough people will want to know if a service exists or not, and if the service doesn't exist, it will need to make a separate search in the documentation. Maybe it's easier to add the relevant info in this particular page? Or at least link to the articles above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution-answered Status - closed by existing documentation
Projects
None yet
Development

No branches or pull requests

2 participants