Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-WURebootStatus - disable yes/no question #47

Open
Orava2 opened this issue Jan 20, 2025 · 0 comments
Open

Get-WURebootStatus - disable yes/no question #47

Orava2 opened this issue Jan 20, 2025 · 0 comments

Comments

@Orava2
Copy link

Orava2 commented Jan 20, 2025

Hello

How can I disable the Y/N question? I don't want to reboot. I just want to get the info ComputerName RebootRequired and RebootScheduled.

PS C:\WINDOWS\system32> Get-WURebootStatus

Reboot is required. Do it now? [Y / N] (default is 'N')
n
ComputerName RebootRequired RebootScheduled
------------ -------------- ---------------
COMP              True

Get-WURebootStatus -Silent does not show the Y/N question but also does not show ComputerName RebootRequired and RebootScheduled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant