| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a0ee86b2-eb36-6276-ba13-21c09bef9361 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE5A:3D2F7:15D2C8:1D3777:6AFD4182 |
| html-safe-nonce | 3576a9901e3c70a301adf1a93eac3df650e9e884f1ad7f3c45af9c27f2de6d01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTVBOjNEMkY3OjE1RDJDODoxRDM3Nzc6NkFGRDQxODIiLCJ2aXNpdG9yX2lkIjoiNjcwNTQ2OTM5NTc2NzczODc1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 896dbccf9b391b688e19537fa326250a64b47437b109be817f075a29e20c6eaf |
| hovercard-subject-tag | pull_request:332817065 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/10909/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e7618b5e2a96811837bb261d2c55c23ef80c5889bdab1982e430b3e626546d30/PowerShell/PowerShell/pull/10909 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7618b5e2a96811837bb261d2c55c23ef80c5889bdab1982e430b3e626546d30/PowerShell/PowerShell/pull/10909 |
| og:image:alt | PR Summary
Add back Clear-RecycleBin cmdlet for Windows for parity with Windows PowerShell. Addressed misuse of GetLastError() by removing error handling since the API returns error only if recycl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SteveL-MSFT |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-cache |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/10909#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10909 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10909 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/10909 |
| Reload | https://github.com/PowerShell/PowerShell/pull/10909 |
| Reload | https://github.com/PowerShell/PowerShell/pull/10909 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests364 (364) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:clear-recyclebin | https://github.com/SteveL-MSFT/PowerShell/tree/clear-recyclebin |
| Conversation | https://github.com/PowerShell/PowerShell/pull/10909 |
| Commits1 (1) | https://github.com/PowerShell/PowerShell/pull/10909/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/10909/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/10909/files |
| Add back Clear-RecycleBin for Windows | https://github.com/PowerShell/PowerShell/pull/10909#top |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| SteveL-MSFT:clear-recyclebin | https://github.com/SteveL-MSFT/PowerShell/tree/clear-recyclebin |
|
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Oct 27, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#issue-512908511 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| #6743 | https://github.com/PowerShell/PowerShell/issues/6743 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Doc Clear-RecycleBin for PS7 MicrosoftDocs/PowerShell-Docs#5005 | https://github.com/MicrosoftDocs/PowerShell-Docs/issues/5005 |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| PowerShell Editor Services | https://github.com/PowerShell/PowerShellEditorServices |
| PowerShell extension | https://github.com/PowerShell/vscode-powershell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| EditorSyntax | https://github.com/PowerShell/EditorSyntax |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
|
| https://github.com/SteveL-MSFT |
| Add back Clear-RecycleBin for Windows | https://github.com/PowerShell/PowerShell/pull/10909/commits/9543e2701b2af55cee35bee3b10deeabdf8e1f0c |
| 9543e27 | https://github.com/PowerShell/PowerShell/pull/10909/commits/9543e2701b2af55cee35bee3b10deeabdf8e1f0c |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Ilya (iSazonov) | https://github.com/iSazonov |
| October 27, 2019 01:59 | https://github.com/PowerShell/PowerShell/pull/10909#event-2746392919 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Travis Plunk (TravisEz13) | https://github.com/TravisEz13 |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| Andrew (anmenaga) | https://github.com/anmenaga |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| code owners | https://github.com/PowerShell/PowerShell/blob/3c432ad288e54740d69ba7548cd2af1bb97ab270/.github/CODEOWNERS#L71 |
| October 27, 2019 01:59 | https://github.com/PowerShell/PowerShell/pull/10909#event-2746392920 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Oct 27, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#event-2746392924 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
|
Oct 27, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-issue-512908593 |
|
Doc Clear-RecycleBin for PS7
MicrosoftDocs/PowerShell-Docs#5005
| https://github.com/MicrosoftDocs/PowerShell-Docs/issues/5005 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Oct 27, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#pullrequestreview-307553479 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/10909/files/9543e2701b2af55cee35bee3b10deeabdf8e1f0c |
| src/Microsoft.PowerShell.Commands.Management/commands/management/ClearRecycleBinCommand.cs | https://github.com/PowerShell/PowerShell/pull/10909/files/9543e2701b2af55cee35bee3b10deeabdf8e1f0c#diff-8e067c8d951b58e9b8f6732258d22a9e8e6bbf36480b2ed1cb7cf26dc6a45162 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Oct 27, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#pullrequestreview-307554503 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/10909/files/9543e2701b2af55cee35bee3b10deeabdf8e1f0c |
| Ilya (iSazonov) | https://github.com/iSazonov |
| https://github.com/PowerShell/PowerShell/pull/10909#pullrequestreview-307554503 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Oct 27, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#issuecomment-546664687 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| Oct 28, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#event-2747169554 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.0.0-preview.6 | https://github.com/PowerShell/PowerShell/milestone/74 |
| Oct 28, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#event-2747169816 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| ca1b6fb | https://github.com/PowerShell/PowerShell/commit/ca1b6fb4c52e465c7686a2c94f0ca35f24f545c3 |
| Oct 28, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#event-2747170559 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| October 28, 2019 03:28 | https://github.com/PowerShell/PowerShell/pull/10909#event-2747182378 |
| https://github.com/sdwheeler |
| Sean Wheeler (sdwheeler) | https://github.com/sdwheeler |
|
Oct 28, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-pullrequest-513502826 |
|
Changed FWLink for Clear-RecycleBin
SteveL-MSFT/PowerShell#39
| https://github.com/SteveL-MSFT/PowerShell/pull/39 |
| Sean Wheeler (sdwheeler) | https://github.com/sdwheeler |
|
Oct 28, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-commit-225fe0e |
|
| https://github.com/sdwheeler |
| Updated FWLink Id for Clear-RecycleBin | https://github.com/sdwheeler/PowerShell/commit/225fe0e00173079f9cf98f896a8bf1622ba3ca0c |
| 225fe0e | https://github.com/sdwheeler/PowerShell/commit/225fe0e00173079f9cf98f896a8bf1622ba3ca0c |
| PowerShell#10909 | https://github.com/PowerShell/PowerShell/pull/10909 |
| Sean Wheeler (sdwheeler) | https://github.com/sdwheeler |
|
Oct 28, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-commit-4267ff4 |
|
| https://github.com/sdwheeler |
| Updated FWLink Id for Clear-RecycleBin | https://github.com/sdwheeler/PowerShell/commit/4267ff4f2682f1c4cb85220b9a9999241e0fea33 |
| 4267ff4 | https://github.com/sdwheeler/PowerShell/commit/4267ff4f2682f1c4cb85220b9a9999241e0fea33 |
| PowerShell#10909 | https://github.com/PowerShell/PowerShell/pull/10909 |
| https://github.com/sdwheeler |
| Sean Wheeler (sdwheeler) | https://github.com/sdwheeler |
|
Oct 28, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-pullrequest-513505450 |
|
Update FWLink Id for Clear-RecycleBin
#10925
| https://github.com/PowerShell/PowerShell/pull/10925 |
| https://github.com/TravisEz13 |
| Travis Plunk (TravisEz13) | https://github.com/TravisEz13 |
| Nov 2, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#issuecomment-549003208 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Nov 21, 2019 | https://github.com/PowerShell/PowerShell/pull/10909#issuecomment-557303223 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.0.0-preview.6 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
|
Nov 21, 2019
| https://github.com/PowerShell/PowerShell/pull/10909#ref-issue-318005364 |
|
Misuse of SHEmptyRecycleBin in Clear-RecycleBin cmdlet
#6743
| https://github.com/PowerShell/PowerShell/issues/6743 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/10909#ref-commit-abaed00 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/iSazonov |
| Add back | https://github.com/Thatgfsj-contribs/PowerShell/commit/abaed00aafd63f2902b3529e614a36c617ee6da9 |
| Clear-RecycleBin | https://github.com/Thatgfsj-contribs/PowerShell/commit/abaed00aafd63f2902b3529e614a36c617ee6da9 |
| for Windows ( | https://github.com/Thatgfsj-contribs/PowerShell/commit/abaed00aafd63f2902b3529e614a36c617ee6da9 |
| PowerShell#10909 | https://github.com/PowerShell/PowerShell/pull/10909 |
| ) | https://github.com/Thatgfsj-contribs/PowerShell/commit/abaed00aafd63f2902b3529e614a36c617ee6da9 |
| abaed00 | https://github.com/Thatgfsj-contribs/PowerShell/commit/abaed00aafd63f2902b3529e614a36c617ee6da9 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10909 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
| https://github.com/PowerShell/PowerShell/pull/10909/files/9543e2701b2af55cee35bee3b10deeabdf8e1f0c |
|
| https://github.com/adityapatwardhan |
|
Aditya Patwardhan (adityapatwardhan)
| https://github.com/adityapatwardhan |
|
| https://github.com/anmenaga |
|
Andrew (anmenaga)
| https://github.com/anmenaga |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
| https://github.com/TravisEz13 |
|
Travis Plunk (TravisEz13)
| https://github.com/TravisEz13 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
|
7.0.0-preview.6
| https://github.com/PowerShell/PowerShell/milestone/74 |
|
Misuse of SHEmptyRecycleBin in Clear-RecycleBin cmdlet
| https://github.com/PowerShell/PowerShell/issues/6743 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/10909 |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/TravisEz13 |
|
| https://github.com/iSazonov |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |