Skip to content

Latest commit

 

History

History
131 lines (91 loc) · 2.79 KB

Remove-TeamViewerManagedDeviceManagement.md

File metadata and controls

131 lines (91 loc) · 2.79 KB

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

Remove-TeamViewerManagedDevice

SYNOPSIS

Removes the management status from a managed device.

SYNTAX

Remove-TeamViewerManagedDeviceManagement [-APIToken] <SecureString> [-Device] <Object> [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Removes the management status from a managed device. This makes the device unmanaged removing it from all groups and removing all managers. The current account needs ManagerAdministration manager permissions on the device.

EXAMPLES

Example 1

Remove-TeamViewerManagedDeviceManagement -Device 'c0cb303a-8a85-4e54-b657-a4757c791aef'

Example 2

Remove-TeamViewerManagedDeviceManagement -DeviceId 'c0cb303a-8a85-4e54-b657-a4757c791aef'

Removes the management status from a device using the DeviceId alias.

Example 3

Get-TeamViewerManagedDevice -Group $group | Remove-TeamViewerManagedDeviceManagement

Removes the management status from all devices of a managed group using pipeline input.

PARAMETERS

-APIToken

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: False

-Confirm

Prompts 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: False

-Device

Object that can be used to identify the managed device. This can either be the managed device Id (as string or GUID) or a managed device object that has been received using other module functions.

Type: Object
Parameter Sets: (All)
Aliases: Id, DeviceId, ManagedDeviceId, ManagedDevice

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

Shows 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: 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

System.Object

OUTPUTS

NOTES

RELATED LINKS