external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Get-TeamViewerInstallationDirectory.md schema: 2.0.0
Retrieves the TeamViewer installation directory.
Get-TeamViewerInstallationDirectory The command checks the TeamViewer Installation and returns the installation directory.
Get-TeamViewerInstallationDirectoryReturns the installation directory.
$installDir = Get-TeamViewerInstallationDirectoryStores the TeamViewer installation directory path in the variable $installDir.
Join-Path -Path (Get-TeamViewerInstallationDirectory) -ChildPath 'TeamViewer.exe'Builds the full path to the TeamViewer executable from the installation directory.