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

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