Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 1.72 KB

Test-TeamViewerConnectivity.md

File metadata and controls

79 lines (51 loc) · 1.72 KB

external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Test-TeamViewerConnectivity.md schema: 2.0.0

Test-TeamViewerConnectivity

SYNOPSIS

Test if the TeamViewer network is reachable from this machine.

SYNTAX

Test-TeamViewerConnectivity [-Quiet] [<CommonParameters>]

DESCRIPTION

The command attempts to connect to the external TeamViewer endpoints that are required to be reachable by the TeamViewer client. Use this command to troubleshoot possible connection related issues.

EXAMPLES

Example 1

Test-TeamViewerConnectivity -Quiet

Example 2

Test-TeamViewerConnectivity -Verbose

Shows an overview of the connected endpoints including ports.

Example 3

if (Test-TeamViewerConnectivity -Quiet) { 'TeamViewer network reachable' }

Uses the boolean result of -Quiet in a condition to react to the overall connectivity outcome.

PARAMETERS

-Quiet

Suppress any output and only return True or False depending on the overall outcome of the connection test.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

NOTES

RELATED LINKS