bcdedit /bootsequence memdiag (This makes memory diagnostic run on next boot.)
This covers everything you need to use Microsoft’s official memory diagnostic effectively.
However, you can manually schedule via registry or BCD:
mdsched.exe /? (Shows same GUI options only)