Provider: powershell

Defined in:
lib/puppet/provider/base_dsc/powershell.rb
Resource type:
base_dsc

Overview

Applies DSC Resources by generating a configuration file and applying it.

Confines

  • operatingsystem — windows

Default Provider For

  • operatingsystem — windows

Commands

  • powershell — if File.exists?("#{ENV['SYSTEMROOT']}\\sysnative\\WindowsPowershell\\v1.0\\powershell.exe") "#{ENV['SYSTEMROOT']}\\sysnative\\WindowsPowershell\\v1.0\\powershell.exe" elsif File.exists?("#{ENV['SYSTEMROOT']}\\system32\\WindowsPowershell\\v1.0\\powershell.exe") "#{ENV['SYSTEMROOT']}\\system32\\WindowsPowershell\\v1.0\\powershell.exe" else 'powershell.exe' end