external help file | Module Name | online version | schema |
---|---|---|---|
TeamViewerPS-help.xml |
TeamViewerPS |
2.0.0 |
Create a new user group.
New-TeamViewerUserGroup [-ApiToken] <SecureString> [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Create a new user group that belongs to the TeamViewer company associated with the API access token. The name of the new user group should be unique among the groups of the TeamViewer Company.
PS /> New-TeamViewerUserGroup -Name 'New user group'
Creates a new user groups with name New user group
.
The name should be unique among the groups of the TeamViewer Company.
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
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
The name of the new user group.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
A TeamViewerPS.UserGroup
object.