Skip to content

Add -Current Parameter to Get-Process #27028

@kilasuit

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

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

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions