Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.18 KB

Get-TeamViewerService.md

File metadata and controls

62 lines (38 loc) · 1.18 KB

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

Get-TeamViewerService

SYNOPSIS

Return the TeamViewer service object.

SYNTAX

Get-TeamViewerService [<CommonParameters>]

DESCRIPTION

Returns the TeamViewer service object.

EXAMPLES

Example 1

PS C:\> Get-TeamViewerService

Example 2

(Get-TeamViewerService).Status

Returns the current status of the TeamViewer service.

Example 3

if ((Get-TeamViewerService).Status -eq 'Running') { Write-Output 'TeamViewer service is running' }

Checks whether the TeamViewer service is currently running.

PARAMETERS

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