use cmdlet name instead of alias
This commit is contained in:
@@ -35,7 +35,7 @@ Else
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Kill all running instances of TeamViewer
|
# 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" )
|
If ( Test-Path "${INSTALLDIR}\uninstall.exe" )
|
||||||
{ Start-Process "${INSTALLDIR}\uninstall.exe" -ArgumentList "/S" -Wait }
|
{ Start-Process "${INSTALLDIR}\uninstall.exe" -ArgumentList "/S" -Wait }
|
||||||
|
|||||||
Reference in New Issue
Block a user