Skip to content

Latest commit

 

History

History
130 lines (92 loc) · 2.44 KB

Remove-TeamViewerUser.md

File metadata and controls

130 lines (92 loc) · 2.44 KB
external help file Module Name online version schema
TeamViewerPS-help.xml
TeamViewerPS
2.0.0

Remove-TeamViewerUser

SYNOPSIS

Removes a user from the TeamViewer tenant

SYNTAX

Remove-TeamViewerUser [-ApiToken] <SecureString> [-User] <Object> [-Permanent] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Removes an existing user from the TeamViewer tenant. If the switch -Permanent is added the user is delete from TeamViewer completely, otherwise it is only removed from the tenant.

EXAMPLES

Example 1

PS C:\> Remove-TeamViewerUser -User 'u1234'

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

-Permanent

Deletes the user account completely instead of just removing it from the tenant.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-User

Object that can be used to identify the user. This can either be the user ID or a user object that has been received using other module functions

Type: Object
Parameter Sets: (All)
Aliases: Id, UserId

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