René's URL Explorer Experiment


Title: Add `-Delay`, `-Reason` to Stop-Computer · Issue #28163 · PowerShell/PowerShell · GitHub

Open Graph Title: Add `-Delay`, `-Reason` to Stop-Computer · Issue #28163 · PowerShell/PowerShell

X Title: Add `-Delay`, `-Reason` to Stop-Computer · Issue #28163 · PowerShell/PowerShell

Description: Summary of the new feature / enhancement Currently, the Stop-Computer cmdlet lacks native parameters for delayed shutdowns (-Timeout / -Delay) and audit-compliant shutdown reasons (-Reason / -Comment). System administrators who need to s...

Open Graph Description: Summary of the new feature / enhancement Currently, the Stop-Computer cmdlet lacks native parameters for delayed shutdowns (-Timeout / -Delay) and audit-compliant shutdown reasons (-Reason / -Comme...

X Description: Summary of the new feature / enhancement Currently, the Stop-Computer cmdlet lacks native parameters for delayed shutdowns (-Timeout / -Delay) and audit-compliant shutdown reasons (-Reason / -Comme...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/28163

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `-Delay`, `-Reason` to Stop-Computer","articleBody":"### Summary of the new feature / enhancement\n\nCurrently, the `Stop-Computer` cmdlet lacks native parameters for delayed shutdowns (`-Timeout` / `-Delay`) and audit-compliant shutdown reasons (`-Reason` / `-Comment`). System administrators who need to schedule maintenance with user grace periods or log structured reasons to the Windows Event Log (Event ID 1074) are forced to abandon idiomatic PowerShell and fall back to the legacy `shutdown.exe` command-line utility.\n\nAs a systems administrator managing Windows environments via PowerShell,\n\nI want to specify a delay countdown, an audit reason, and a custom comment directly within the Stop-Computer cmdlet,\n\nSo that I can give active users advance notice before power-off and maintain accurate system event audit logs without relying on legacy shutdown.exe workarounds.\n\n### Proposed technical implementation details (optional)\n\n* **`-Timeout` / `-Delay`** `[int]`: Time to wait (in seconds) before initiating the shutdown/restart.\n* **`-Comment`** `[string]`: User-readable message or banner text displayed to users and recorded in the event log.\n* **`-Reason`** `[string]` *(or enum)*: Standardized Windows shutdown reason code (e.g., `PlannedMaintenance`, `UnplannedHardwareIssue`, `PlannedOperatingSystemReconfig`) mapped to standard Windows Major:Minor reason codes.","author":{"url":"https://github.com/soroshsabz","@type":"Person","name":"soroshsabz"},"datePublished":"2026-10-07T20:50:03Z","url":"https://github.com/PowerShell/PowerShell/issues/28163"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4fd4b27d-d752-7488-fb47-0b2dfea5c5d5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC5EA:274D5F:751370:A92EAD:6AFD80E5
html-safe-nonce22ecd729b1c47412dcee472e310df19c4edbf46caa142bb5bff74a6b9349c2bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUVBOjI3NEQ1Rjo3NTEzNzA6QTkyRUFEOjZBRkQ4MEU1IiwidmlzaXRvcl9pZCI6IjgwMjM5NTA3ODcxNDQ5NDE3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca6beed426a1d303ac9411c61fc441dc9cce1ec5b0d460d15f60e22d6ae10ebeb
hovercard-subject-tagissue:5751677700
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/28163/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4484d79e27d2a98399ffa92eba3e58cce41b84f983852c8094a57cbf77b7a3b0/PowerShell/PowerShell/issues/28163
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4484d79e27d2a98399ffa92eba3e58cce41b84f983852c8094a57cbf77b7a3b0/PowerShell/PowerShell/issues/28163
og:image:altSummary of the new feature / enhancement Currently, the Stop-Computer cmdlet lacks native parameters for delayed shutdowns (-Timeout / -Delay) and audit-compliant shutdown reasons (-Reason / -Comme...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesoroshsabz
hostnamegithub.com
expected-hostnamegithub.com
None42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/28163#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F28163
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F28163
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/28163
Reloadhttps://github.com/PowerShell/PowerShell/issues/28163
Reloadhttps://github.com/PowerShell/PowerShell/issues/28163
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28163
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28163
Add -Delay, -Reason to Stop-Computerhttps://github.com/PowerShell/PowerShell/issues/28163#top
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Oct 7, 2026https://github.com/PowerShell/PowerShell/issues/28163#issue-5751677700
soroshsabzhttps://github.com/soroshsabz
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Oct 7, 2026https://github.com/PowerShell/PowerShell/issues/28163#event-32725473167
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Oct 7, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6046700729
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Oct 7, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6046761249
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
on Oct 8, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6050858847
Adding Comment, Reason and Shutdown/RestartDelay parameters for Stop/Restart-Computer cmdlet #27721https://github.com/PowerShell/PowerShell/pull/27721
Computer.cshttps://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs
ComputerUnix.cshttps://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Management/commands/management/ComputerUnix.cs
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Oct 8, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6053323260
Ryan Yates (@kilasuit)https://github.com/kilasuit
#27721https://github.com/PowerShell/PowerShell/pull/27721
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Oct 8, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6053327165
Restart-Computer and Stop-Computer should take custom message like shutdown.exe #4857https://github.com/PowerShell/PowerShell/issues/4857
https://github.com/rhubarb-geek-nz
rhubarb-geek-nzhttps://github.com/rhubarb-geek-nz
on Oct 8, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6055505170
https://github.com/237dmitry
237dmitryhttps://github.com/237dmitry
on Oct 8, 2026https://github.com/PowerShell/PowerShell/issues/28163#issuecomment-6059917352
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/28163
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28163
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.