Skip to content

Add -Current Parameter to Get-Process #27028

Description

@kilasuit

Summary of the new feature / enhancement

Whilst Get-Process -id $PID works today
There are potentially times where you can't use $PID like in RestrictedLanguage Mode

So it makes sense to Add -Current parameter which will return info for the Current Process as that will work RestrictedLanguage Mode

This was recommended as another option to think of as opposed to

Proposed technical implementation details (optional)

Add a parameter for Get-Process that return info for the Current running Process

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.WG-Cmdletsgeneral cmdlet issuesWG-NeedsReviewNeeds a review by the labeled Working Group

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions