I am trying to map and unmap x$ to a network server.
That server does not belong the domain so I have to use credential.
I have been looking for information on internet but I am confused, there is methods wth vbs, etc. I am looking for the way to specifically connect by usign powershell and disconnect the share one we finish our work.
Might anyone help me?