diff --git a/Get-PC/Private/Update-GetPC.ps1 b/Get-PC/Private/Update-GetPC.ps1 index 5431a76..4a06cf6 100644 --- a/Get-PC/Private/Update-GetPC.ps1 +++ b/Get-PC/Private/Update-GetPC.ps1 @@ -11,7 +11,7 @@ function Update-GetPC { $desinationPath = ($env:PSModulePath -split ';')[0] + "\Get-PC" Write-Host "Updating Get-PC..." - Robocopy.exe $GetPCSourcePath $desinationPath /mir + Robocopy.exe $GetPCSourcePath $desinationPath /mir | Out-Null if($LASTEXITCODE -gt 7){ Write-Warning 'An error has occured during update. Please restart powershell and try again'