-
Notifications
You must be signed in to change notification settings - Fork 10
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
xPendingReboot: post 'Invalid namespace' warning and doesn't reboot #26
Comments
xPendingReboot is fickle :-) CCM_ClientUtilities: Invalid namespace can be avoided by specifying SkipCcmClientSDK = $True. that's just the check to see if SCCM thinks a reboot is needed; and the class isn't available if you don't have the SCCM client. As for the no actual reboot, ensure the LCM is allowed to reboot the node |
Thanks @brinkers |
So, by default it doesn't check to see if the SCCM client is installed and just fails if it isn't? Why not default to not searching for the SCCM client and having SCCM admins opt-in since they know that its there? |
This is related to #13. I will be addressing this when I move the resource to ComputerManagementDsc. There is an issue where regardless of the SCCM state of the client a reboot will never be triggered. This is because there is no check for the status in the Test-TargetResource. I'll be addressing this during the migration. |
This has been fixed over in the new PendingReboot in ComputerManagementDsc. @gaelcolas - can you close this one? |
Details of the scenario you tried and the problem that is occurring
I'm using xPendingReboot at the and of my configuration, but the logs suggest that:
Verbose logs showing the problem
Suggested solution to the issue
Fix it please =)
Or provide a workaround.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
The text was updated successfully, but these errors were encountered: