| external help file | TeamViewerPS-help.xml |
|---|---|
| Module Name | TeamViewerPS |
| online version | https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Connect-TeamViewerApi.md |
| schema | 2.0.0 |
Store the TeamViewer API access token in the current environment.
Connect-TeamViewerApi [-ApiToken] <SecureString> [<CommonParameters>]Stores the TeamViewer API access token in the current environment such that
API related function don't need to specify the ApiToken parameter anymore.
PS /> Connect-TeamViewerApi
*********************
PS /> Get-TeamViewerUserUse Connect-TeamViewerApi to store the TeamViewer API access token as secure
string in the current Powershell global scope.
The TeamViewer API access token.
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.