ExpanDrive (previously known as SftpDrive) has a pretty handy and undocumented feature to connect via CLI. Why they hid this away I do not know, but it's saved me a bit of hassle every morning.
The syntax varies slightly, on different versions.
net use \\ExpanDrive\drivename
expandrive.exe connect drivename
You can thanks the great customer support from Jeff Mancuso at ExpanDrive!
How I picture ExpanDrive staff dealing with issues.