DriveNotFoundException in a Invoke-Command script

A quick write up on a issue that was freaking me out. I have a management VM in our lab and was writing a script to automatically deploy a “Hyper Converged” system with Storage Spaces Direct remotely from the management VM. I created a script that copies over the mastervhd  and a …