From 237f473ce948849143c5ca526a98f63b278c69b7 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Tue, 8 Oct 2024 23:28:03 +0200 Subject: [PATCH] update --- kopia_backup/readme.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kopia_backup/readme.md b/kopia_backup/readme.md index 448a547..8dfd8bd 100644 --- a/kopia_backup/readme.md +++ b/kopia_backup/readme.md @@ -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 ``` @@ -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 - + ```