external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Remove-TeamViewerDevice.md schema: 2.0.0
Delete a device from the Computers & Contacts list.
Remove-TeamViewerDevice [-APIToken] <SecureString> [-Device] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]Deletes a device from the Computers & Contacts list of the account associated to the API access token.
Remove-TeamViewerDevice -Device 'd1234'Deletes a specific device.
Get-TeamViewerDevice -Name 'My PC' | Remove-TeamViewerDeviceDeletes the devices returned by Get-TeamViewerDevice using pipeline input.
Remove-TeamViewerDevice -Id 'd7654321'Deletes a device using the Id alias.
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: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseObject that can be used to identify the device entry. This can either be the device Id or a device object that has been received using other module functions.
Type: Object
Parameter Sets: (All)
Aliases: Id, DeviceId
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
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.