microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
686 stars 223 forks source link

Update installMDATPQuickScanJob.sh #15

Closed ken5scal closed 3 years ago

ken5scal commented 3 years ago

/usr/local/bin/mdatp --scan --quick will not really run the scan but instead returns available commands.

% mdatp --scan --quick
Expected one of:
  config                Manage product configuration
  connectivity          Troubleshoot cloud connectivity
  definitions           Manage security intelligence updates
  diagnostic            Troubleshoot product issues and collect diagnostics
  edr                   Manage Endpoint Detection & Response (EDR) configuration
  exclusion             Manage antivirus exclusions
  health                Display product health information
  help                  Display all available options for this tool
  log                   Manage product logging
  notice                Display the Third-Party Notice
  scan                  Scan for malicious software
  device-control        Manage device control
  network-protection    Manage network protection
  system-extension      Manage system extensions
  threat                Manage threats and configure threat handling policies
  version               Display the product version
theneiljohnson commented 3 years ago

Thanks so much for catching this, i'd copied over an old script by mistake :(