class RuboCop::Cop::Chef::Deprecations::PowershellCookbookHelpers

Use ‘node[’version’]‘ or the new `powershell_version` helper available in Chef Infra Client 15.8+ instead of the deprecated PowerShell cookbook helpers

@example

### incorrect
Powershell::VersionHelper.powershell_version?('4.0')

### correct
node['powershell']['version'].to_f == 4.0

# better (Chef Infra Client 15.8+)
powershell_version == 4.0