class RuboCop::Cop::Chef::Modernize::PowershellInstallWindowsFeature

Use the windows_feature resource built into Chef Infra Client 14+ instead of the powershell_script resource to run Install-WindowsFeature or Add-WindowsFeature

@example

 ### incorrect
 powershell_script 'Install Feature' do
   code 'Install-WindowsFeature -Name "Net-framework-Core"'
 end

### correct
windows_feature 'Net-framework-Core' do
  action :install
  install_method :windows_feature_powershell
end