Document -Current Parameter on Get-Process

Open
#12,853 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
55/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
powershell
Domain
documentation

Research direction

Start with the Get-Process article linked in the issue and review related source pull request #27037 and issue #27028 for the parameter's intended behavior. Update the documentation to cover the Current parameter, including its use for returning only the current process in RestrictedLanguage mode; the article should clearly describe the resulting behavior.

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

Add Documentation on Current Parameter in Get-Process that returns only the current process (just like Get-Process -id $PID would) where that doesn't work in in RestrictedLanguage Mode however this new addition will do.

Details

No response

Articles

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process

Related Source Pull Requests
Related Source Issues
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.