This commit is contained in:
DoTheEvo
2024-10-08 23:28:03 +02:00
parent 311e6fe445
commit 237f473ce9
+2 -6
View File
@@ -411,11 +411,7 @@ Solution that works for me is to mount the shares using powershell `New-SmbGloba
New-SmbGlobalMapping -LocalPath "X:" -RemotePath "\\NAS2\zzz" -Credential $creds
# Restart Explorer
$explorer = Get-Process explorer -ErrorAction SilentlyContinue
if ($explorer) {
Stop-Process -Id $explorer.Id -Force
Start-Process explorer.exe
}
Stop-Process -Name explorer -ErrorAction SilentlyContinue; Start-Process explorer.exe
```
</details>
@@ -439,7 +435,7 @@ Solution that works for me is to mount the shares using powershell `New-SmbGloba
# Restart Explorer
Stop-Process -Name explorer -ErrorAction SilentlyContinue; Start-Process explorer.exe
```
</details>