Module: Chef::DSL::Powershell

Included in:
Recipe, Resource::DscResource
Defined in:
lib/chef/dsl/powershell.rb

Instance Method Summary collapse

Instance Method Details

#ps_credential(username = 'placeholder', password) ⇒ Object



24
25
26
# File 'lib/chef/dsl/powershell.rb', line 24

def ps_credential(username='placeholder', password)
  Chef::Util::Powershell::PSCredential.new(username, password)
end