Hello Derek,
Yes, you are right, to disable a user and the computer associated with the user in a single Custom Command you will need to use a PowerShell script. The command will look like the following:

If you need help with the script, please, specify how exactly computers are associated with user accounts. Any additional details will be much appreciated.