class RuboCop::Cop::Chef::Ruby::LegacyPowershellOutMethods

methods don’t spawn 2 shells per shellout and instead use .NET bindings to call PS directly.
Use powershell_exec!/powershell_exec instead of powershell_out!/powershell_out. The new

def on_send(node)

def on_send(node)
  add_offense(node, message: MSG, severity: :refactor)
end