let the user know the powershell script must end in .ps1 on failure
This commit is contained in:
parent
5e05ce872e
commit
0d5eef029a
|
@ -145,7 +145,7 @@ class Console::CommandDispatcher::Powershell
|
|||
|
||||
result = client.powershell.import_file(opts)
|
||||
if result.nil? || result == false
|
||||
print_error("File failed to load.")
|
||||
print_error('File failed to load. The file must end in ".ps1" or ".dll".')
|
||||
elsif result == true || result.empty?
|
||||
print_good("File successfully imported. No result was returned.")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue