Title: Add -Current Parameter to Get-Process · Issue #27028 · PowerShell/PowerShell · GitHub
Open Graph Title: Add -Current Parameter to Get-Process · Issue #27028 · PowerShell/PowerShell
X Title: Add -Current Parameter to Get-Process · Issue #27028 · PowerShell/PowerShell
Description: 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 ...
Open Graph Description: 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 -Curre...
X Description: 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 -C...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/27028
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add -Current Parameter to Get-Process","articleBody":"### Summary of the new feature / enhancement\n\nWhilst `Get-Process -id $PID` works today\nThere are potentially times where you can't use $PID like in RestrictedLanguage Mode\n\nSo it makes sense to Add -Current parameter which will return info for the Current Process as that will work RestrictedLanguage Mode\n\nThis was recommended as another option to think of as opposed to \n- #26950\n\n### Proposed technical implementation details (optional)\n\nAdd a parameter for Get-Process that return info for the Current running Process\n","author":{"url":"https://github.com/kilasuit","@type":"Person","name":"kilasuit"},"datePublished":"2026-03-14T15:00:36Z","url":"https://github.com/PowerShell/PowerShell/issues/27028"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2001a47-0c9d-4d9d-9a0c-ea387872392d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90FA:3B38CF:2210198:2F85406:6AFD2D71 |
| html-safe-nonce | 0837bf2580ca10c8660090316a6f36c394b6409ea2776b1eda46d5413d285e2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEZBOjNCMzhDRjoyMjEwMTk4OjJGODU0MDY6NkFGRDJENzEiLCJ2aXNpdG9yX2lkIjoiNzkzNjQyNjI1MTM2OTkxNzgwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 774fd28afc92f56111f875fd3b4672dd56653338bfa1e4696ed5fede1cf939d7 |
| hovercard-subject-tag | issue:4075981956 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/27028/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0bb3e5a2151a8d38b6ce16e33ee646c5ddebe7abe0b80bda4b332d368af2a6e6/PowerShell/PowerShell/issues/27028 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0bb3e5a2151a8d38b6ce16e33ee646c5ddebe7abe0b80bda4b332d368af2a6e6/PowerShell/PowerShell/issues/27028 |
| og:image:alt | 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 -Curre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kilasuit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width