Open Bowen73 opened 2 years ago
Before running the script you need to set three variables:
$env:usrScanscope = # 1, 2, or 3 - 1 = Scan home drive, 2 = scan fixed and removable, 3 = scan all local and network drives
$env:usrUpdateDefs = # 'true' or 'false' - Update YARA definitions, true or false
$env:usrMitigate = # 'Y', 'N', or 'X' - Y = Set LOG4J_FORMAT_MSG_NO_LOOKUPS to true, N = Set LOG4J_FORMAT_MSG_NO_LOOKUPS to false, X = Don't set LOG4J_FORMAT_MSG_NO_LOOKUPS
Well-put. You can also find this in the readme under "usage".
im running this via ps but when I run it I get the below error without asking what option I want to run: