-
Notifications
You must be signed in to change notification settings - Fork 26
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
PendingComputerRenameDomainJoin
always $true
#14
Comments
You should use this module using Windows PowerShell 5.1, not PowerShell 7.x because a lot of the commands within the module are using WMI cmdlets, not the newer CIM cmdlets. The older WMI cmdlets don't work in PS7. |
hi, i can confirm the bug only appears in pwsh and not powershell. could you add an error message for when the function is run within pwsh? thanks |
Those who are coming to look for a work around: $RebootFlags = Test-PendingReboot -Detailed -WarningAction SilentlyContinue -ErrorAction SilentlyContinue if ($RebootFlags.IsRebootPending -eq $true) { |
hi,
i'd like to report a small bug i have.
PendingComputerRenameDomainJoin
is always$true
for my notebook, for some reason unknown to me. nothing is pending in reality.here's some info:
The text was updated successfully, but these errors were encountered: