dsccommunity / xPendingReboot

MIT License
31 stars 10 forks source link

Registry key evaluation not always working #8

Closed PiAnAnXa closed 5 years ago

PiAnAnXa commented 8 years ago

Due to a missing \ after hklm: the Component Based Servicing and Windows Update keys are not always processed I believe. Problem code in MSFT_xPendingReboot.psm1 @ line 14 & 24

peppekerstens commented 8 years ago

@PiAnAnXa & @kwirkykat Double checked xPendingReboot code. @PiAnAnXa is correct as far is code is concerned; current behavior (PowerShell 5 and earlier versions) of Get-ChildItem dictates a "Windows style path" (https://en.wikipedia.org/wiki/Path_(computing)#MS-DOS.2FMicrosoft_Windows_style) like path, so hlkm:\ or c:\ see: https://technet.microsoft.com/en-us/library/ee176841.aspx and: https://technet.microsoft.com/en-us/library/hh849800.aspx

PlagueHO commented 5 years ago

I think this issue has been resolved and can be closed.

PlagueHO commented 5 years ago

@gaelcolas - can you close this one?