With reference to
Scan from the command line - Sophos Endpoint: https://docs.sophos.com/esg/endpoint/help/en-us/help/Scan-from-CLI/index.html#wildcards
An example with a full command line would be useful, the first time I attempted to use this command it was providing an error message which wasn't clear that I had left off a particular element of the command.