From 26829e8e349afc6b2bd6d396f3fe325557e09615 Mon Sep 17 00:00:00 2001 From: Zachary Gorman Date: Fri, 21 Feb 2025 13:45:23 -0800 Subject: [PATCH] Fixed Update --- Get-PC/Private/Update-GetPC.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'