Documentation - Windows Memory Diagnostic Mdsched.exe Microsoft

mdsched.exe itself has no extensive command-line switches, but you can schedule the test via command line:

You can access the tool in several ways across Windows 10 and 11: mdsched