net use /del X:
net use /del*Using windows GUI the easy method, just open my computer, Open This PC in file explorer, just hit Windows key + E it will open the file explorer, then click on This PC, please the screenshot below. Select the network share or drive and right-click on it, click on disconnect option. Thank you for reading this article, if you have any questions please let us know. Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.