Delete All Active Network Shares on Windows

Occasionally I get the,

Error message when you use user credentials to connect to a network share from a Windows-based computer: “The network folder specified is currently mapped using a different user name and password”

When attempting to connect to a network share that the user has some background process connected to. You can log the user out, or just simply pop into the cmd.exe and type,
net use * /delete
I know its simple, and everyone knows it. But for me.. sometimes I forget these commands 😉