| external help file | TeamViewerPS-help.xml |
|---|---|
| Module Name | TeamViewerPS |
| online version | https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/New-TeamViewerUser.md |
| schema | 2.0.0 |
Create a new TeamViewer company user.
New-TeamViewerUser -ApiToken <SecureString> -Email <String> -Name <String> -Password <SecureString> [-RoleId <String>][-IgnorePredefinedRole <switch>]
[-SsoCustomerIdentifier <SecureString>][-Culture <CultureInfo>] [-LogSessions <Boolean>] [-ShowCommentWindow <Boolean>] [-SubscribeNewsletter <Boolean>] [-TFAEnforcement <Boolean>] [-CustomQuickSupportId <String>] [-CustomQuickJoinId <String>] [-LicenseKey <String>] [-MeetingLicenseKey <String>] [-WhatIf] [-Confirm] [<CommonParameters>]New-TeamViewerUser -ApiToken <SecureString> -Email <String> -Name <String> [-WithoutPassword][-IgnorePredefinedRole <switch>]
[-SsoCustomerIdentifier <SecureString>][-Culture <CultureInfo>] [-WhatIf] [-Confirm] [<CommonParameters>]Creates a new user for the company that is associated to the API access token.
PS /> New-TeamViewerUser -Email 'test@example.test' -Name 'Test User'Create a new user with the given email address and name. The password will be prompted.
PS /> New-TeamViewerUser -Email 'test@example.test' -Name 'Test User' -WithoutPasswordCreate a new user with the given email address and name. It will be created without a password. The user must reset the password through the TeamViewer web page.
PS /> New-TeamViewerUser -Email 'test@example.test' -Name 'Test User' -RoleId '9b465ea2-2f75-4101-a057-58a81ed0e57b'Create a new user with the given email address and name.
The Role with RoleID 9b465ea2-2f75-4101-a057-58a81ed0e57b will be assigned.
The TeamViewer API access token.
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
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: FalseCulture used for the welcome email of the new user.
Type: CultureInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEmail address of the new user.
Type: String
Parameter Sets: (All)
Aliases: EmailAddress
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDisplay name of the new user.
Type: String
Parameter Sets: (All)
Aliases: DisplayName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePassword of the new user as secure string.
Type: SecureString
Parameter Sets: WithPassword
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseOptional TeamViewer SSO customer identifier. If given, the user will be created with SSO activation step already done. With this option, the new user must not enter the TeamViewer password at all when doing Single Sign-On.
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRole assigned to the user.
Type: String
Parameter Sets: (All)
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIgnore Predefined Role from being assigned.
Type: switch
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables ($true) or disables ($false) session logging.
Type: Boolean
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables ($true) or disables ($false) the newsletter.
Type: Boolean
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDisplays ($true) or hides ($false) the comment field.
Type: Boolean
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnables ($true) or disables ($false) the enforcement of the two-factor authentication (TFA) for the user.
Type: Boolean
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDefines the ID of a custom QuickSupport module assigned to the user.
Type: String
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the ID of a custom QuickJoin module assigned to the user.
Type: String
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the license key assigned to the user.
Type: String
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the meeting license key assigned to the user.
Type: String
Parameter Sets: ByParameters
Aliases:
Required: False
Position: Named
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: FalseIf given, the new user is created without a password. The user must request to reset the password on the TeamViewer web page.
Type: SwitchParameter
Parameter Sets: WithoutPassword
Aliases: NoPassword
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.