From 0fededf036aed3b1579903a88be7e614a3421007 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Fri, 11 Apr 2025 17:22:26 -0400 Subject: [PATCH] use cmdlet name instead of alias --- Uninstall-TeamViewer.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uninstall-TeamViewer.ps1 b/Uninstall-TeamViewer.ps1 index a74f1fd..586c67a 100644 --- a/Uninstall-TeamViewer.ps1 +++ b/Uninstall-TeamViewer.ps1 @@ -35,7 +35,7 @@ Else } # Kill all running instances of TeamViewer -Get-Process | Where { $_.Name -like "*TeamViewer*" } | Stop-Process -Force +Get-Process | Where-Object { $_.Name -like "*TeamViewer*" } | Stop-Process -Force If ( Test-Path "${INSTALLDIR}\uninstall.exe" ) { Start-Process "${INSTALLDIR}\uninstall.exe" -ArgumentList "/S" -Wait }