Due to chef being in 32 bits, sysnative path was used to access
wuauclt.exe.
Now that chef 12.8.1 has a 64bits version, we have to adapt by using
powershell_script resource that make calls to System32 path works
depending on the node architecture (instead of the ruby architecture).
Due to chef being in 32 bits, sysnative path was used to access wuauclt.exe. Now that chef 12.8.1 has a 64bits version, we have to adapt by using powershell_script resource that make calls to System32 path works depending on the node architecture (instead of the ruby architecture).