Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.04 KB

Get-TeamViewerInstallationDirectory.md

File metadata and controls

62 lines (38 loc) · 1.04 KB

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

Get-TeamViewerInstallationDirectory

SYNOPSIS

Retrieves the TeamViewer installation directory.

SYNTAX

Get-TeamViewerInstallationDirectory 

DESCRIPTION

The command checks the TeamViewer Installation and returns the installation directory.

EXAMPLES

Example 1

Get-TeamViewerInstallationDirectory

Returns the installation directory.

Example 2

$installDir = Get-TeamViewerInstallationDirectory

Stores the TeamViewer installation directory path in the variable $installDir.

Example 3

Join-Path -Path (Get-TeamViewerInstallationDirectory) -ChildPath 'TeamViewer.exe'

Builds the full path to the TeamViewer executable from the installation directory.

PARAMETERS

CommonParameters

INPUTS

None

OUTPUTS

NOTES

RELATED LINKS