Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for login_reconnect_network_drives.ps

(view source code of login_reconnect_network_drives.ps as plain text)

  1. Remove-SmbMapping -LocalPath 'G:' -Force
  2. New-SmbMapping -LocalPath 'G:' -RemotePath "\\CompanyServer\Dept"

page last uploaded: 2021-01-27, 16:12