Module: Chef::DSL::Powershell

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

Instance Method Summary collapse

Instance Method Details

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

rubocop:disable Style/OptionalArguments



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

def ps_credential(username = "placeholder", password) # rubocop:disable Style/OptionalArguments
  Chef::Util::Powershell::PSCredential.new(username, password)
end