Document updated needed for new parameters of Stop/Restart-Computer cmdlet

Open Beginner friendly
#13,195 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
powershell
Domain
documentation

Research direction

Start with reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md and reference/7.7/Microsoft.PowerShell.Management/Stop-Computer.md, then review PowerShell/PowerShell#27721 for the parameter details. Update both articles to document Comment, Reason, and the appropriate delay parameter, and confirm the six new parameters are covered once the source PR details are settled.

Written by the indexing model from the issue text.

Description

hold-for-pr hold-for-release issue-doc-idea
Prerequisites
  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."
Summary

Stop-Computer and Restart-Computer will get three new parameters based on the PR 27721

New parameters for Stop-Computer

  1. Comment
  2. ShutdownDelay
  3. Reason

New parameters for Restart-Computer

  1. Comment
  2. RestartDelay
  3. Reason

More details will be updated based on the PR progress.

Details

No response

Articles
  • reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md
  • reference/7.7/Microsoft.PowerShell.Management/Stop-Computer.md
Related Source Pull Requests
  • PowerShell/PowerShell#27721
Related Source Issues
  • PowerShell/PowerShell#4857
Dominant language
PowerShell
Stars
2.5k
Forks
1.7k
Avg merge
8h 45m
Merged PRs (30d)
33

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/PowerShell-Docs

All issues in MicrosoftDocs/PowerShell-Docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.