Map Drive From Command — Line
One of the biggest advantages of the command line is the ability to save these commands in a .bat (Batch) or .ps1 (PowerShell) file. By placing these files in your folder, you can ensure your environment is set up perfectly every time you boot your PC.
net use \\server /delete