summaryrefslogtreecommitdiff
path: root/lib/chef/resource/powershell.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/powershell.rb')
-rw-r--r--lib/chef/resource/powershell.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/chef/resource/powershell.rb b/lib/chef/resource/powershell.rb
index 35474a1af9..e726e6f35a 100644
--- a/lib/chef/resource/powershell.rb
+++ b/lib/chef/resource/powershell.rb
@@ -16,15 +16,14 @@
# limitations under the License.
#
-require 'chef/resource/script'
-require 'chef/mixin/windows_architecture_helper'
+require 'chef/resource/windows_script'
class Chef
class Resource
- class Powershell < Chef::Resource::WindowsSystemScript
+ class Powershell < Chef::Resource::WindowsScript
def initialize(name, run_context=nil)
- super(name, run_context, :powershell, "WindowsPowerShell\\v1.0\\powershell.exe")
+ super(name, run_context, :powershell, "powershell.exe")
end
end