| external help file | TeamViewerPS-help.xml |
|---|---|
| Module Name | TeamViewerPS |
| online version | https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Add-TeamViewerAssignment.md |
| schema | 2.0.0 |
Assigns the local device to a TeamViewer company.
Add-TeamViewerAssignment [-AssignmentId] [-DeviceAlias] [-Retries] Assigns the local / current device to a TeamViewer company where it's listed in "managed devices". The Assignment Id can be obtained from the Management Console (MCO) under Design & Deploy.
Add-TeamViewerAssignment -AssignmentId '0001CoABChCiJnyAKf0R7r6'
Assigns the local device with default alias (hostname of device) to the TeamViewer company corresponding to the Assignment Id.
Add-TeamViewerAssignment -AssignmentId '0001CoABChD3RCXwL6IR7pS' -DeviceAlias 'My Test Device' -Retries 3
Assigns the local device with alias "My Test Device" to the corresponding TeamViewer company. Three assignment retries are done.
Object that is required to assign the device to a Company.
Type: Object
Parameter Sets: (All)
Aliases: None
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe alias for a device that is set. If omitted the host-name is used.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe assignment is retried in case of temporary connection errors. There is a waiting time of 1 second between each try.
Type: int
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False