Fixes compile error on windows server 2016+ caused by the switch from if ::Windows::VersionHelper.nt_version(node) > 6.1 to if node['platform_version'].to_f > 6.1 making the powershell5 recipe try to load resource with undefined attribute that is required but set to nil on platform_version 10.0+ machines.
Check List
[ ] All tests pass. See TESTING.md for details.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.
Description
Fixes compile error on windows server 2016+ caused by the switch from
if ::Windows::VersionHelper.nt_version(node) > 6.1
toif node['platform_version'].to_f > 6.1
making the powershell5 recipe try to load resource with undefined attribute that is required but set to nil on platform_version 10.0+ machines.Check List