Skip to content

Latest commit

 

History

History
159 lines (113 loc) · 3.23 KB

Remove-TeamViewerPolicyFromManagedGroup.md

File metadata and controls

159 lines (113 loc) · 3.23 KB

external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: [Link to Online Documentation] schema: 2.0.0

Remove-TeamViewerPolicyFromManagedGroup

SYNOPSIS

Remove a policy from a managed group based on type.

Valid Types are:

  • TeamViewer
  • Monitoring
  • PatchManagement

SYNTAX

Remove-TeamViewerPolicyFromManagedGroup -APIToken <SecureString> -Group <Object> -PolicyType <PolicyType> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Remove a specified policy from a managed group.

EXAMPLES

Example 1

Remove-TeamViewerPolicyFromManagedGroup -Group 'd8773208-a685-4323-9de5-7f86951f8c30' -PolicyType 1
Remove-TeamViewerPolicyFromManagedGroup -Group 'd8773208-a685-4323-9de5-7f86951f8c30' -PolicyType TeamViewer

Remove TeamViewer policy from group.

Example 2

Remove-TeamViewerPolicyFromManagedGroup -Group '730ee15a-1ea4-4d80-9cfe-5a01709d0a2f' -PolicyType 4
Remove-TeamViewerPolicyFromManagedGroup -Group '730ee15a-1ea4-4d80-9cfe-5a01709d0a2f' -PolicyType Monitoring

Remove Monitoring policy from group-

Example 3

Remove-TeamViewerPolicyFromManagedGroup -Group '730ee15a-1ea4-4d80-9cfe-5a01709d0a2f' -PolicyType 5
Remove-TeamViewerPolicyFromManagedGroup -Group '730ee15a-1ea4-4d80-9cfe-5a01709d0a2f' -PolicyType PatchManagement

Remove PatchManagement policy from group.

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

-Group

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

Type: Object
Parameter Sets: (All)
Aliases: Id, GroupId, ManagedGroupId, ManagedGroup

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

-PolicyType

The type of policy to remove from the managed group.

Type: PolicyType (Enum)
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
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

-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