Chef Infra Language: Windows
Chef Infra Client 15.8 and later include Windows-specific helpers for checking platform and package information.
Determine if the current node is Windows Server Core.
Determine if the current node is Windows Workstation.
Determine if the current node is Windows Server.
Determine the current Windows NT version. The NT version often differs from the marketing version, but offers a good way to find desktop and server releases that are based on the same codebase. For example NT 6.3 corresponds to Windows 8.1 and Windows 2012 R2.
Determine the installed version of PowerShell.