but, if you don't specify computername parameter the module will fail.. and.. I think you really need to specify it ;).
In the same way as the USER parameter, you can define computername this way:
invoke_checklocaladminaccess_parser.add_argument('--computername', required=True, dest='target_computername',
help='Computer to test local admin access on')
and will force the script to check that parameter was provided.
Yep, this problem was also present for other commands (basically, commands targeting domain computers, and not domain controllers). Should be fixed now, thanks!
For example, when trying to use the
invoke-checklocaladminaccess
action, you get:but, if you don't specify
computername
parameter the module will fail.. and.. I think you really need to specify it ;). In the same way as theUSER
parameter, you can definecomputername
this way:and will force the script to check that parameter was provided.
I saw this happening on other actions as well.