| external help file | TeamViewerPS-help.xml |
|---|---|
| Module Name | TeamViewerPS |
| online version | https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Unpublish-TeamViewerGroup.md |
| schema | 2.0.0 |
Unshare a Computers & Contacts list group.
Unpublish-TeamViewerGroup [-ApiToken] <SecureString> [-Group] <Object> [-User] <Object[]> [-WhatIf] [-Confirm]
[<CommonParameters>]Removes existing share of a Computers & Contacts list group for given users.
PS C:\> Unpublish-TeamViewerGroup -Group 'g1234' -User 'u5678'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 group. This can either be the group ID or a group object that has been received using other module functions.
Type: Object
Parameter Sets: (All)
Aliases: GroupId
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseObject 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: UserId
Required: True
Position: 2
Default value: None
Accept pipeline input: False
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.