February 2018
Intermediate to advanced
426 pages
11h 3m
English
Let's start with an analysis of the run method of the module to understand how it works:
def run raise "Powershell not available" if ! have_powershell? script = make_subs(read_script(datastore['SCRIPT']), process_subs(datastore['SUBSTITUTIONS'])) print_status psh_exec(script) print_good 'Finished!'end
raise "Powershell not available" if ! have_powershell?
script = make_subs(read_script(datastore['SCRIPT']), process_subs(datastore['SUBSTITUTIONS']))
Read now
Unlock full access