Skip to content

Latest commit

 

History

History
159 lines (120 loc) · 3.89 KB

Enable-TeamsUserForEnterpriseVoice.md

File metadata and controls

159 lines (120 loc) · 3.89 KB
external help file Module Name online version schema
TeamsFunctions-help.xml
TeamsFunctions
2.0.0

Enable-TeamsUserForEnterpriseVoice

SYNOPSIS

Enables a User for Enterprise Voice

SYNTAX

UserPrincipalName (Default)

Enable-TeamsUserForEnterpriseVoice [-UserPrincipalName] <String[]> [-Force] [-WhatIf] [-Confirm]
 [<CommonParameters>]

Object

Enable-TeamsUserForEnterpriseVoice [-UserObject] <Object> [-LicenseObject <Object>] [-Force] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Enables a User for Enterprise Voice and verifies its status

EXAMPLES

EXAMPLE 1

Enable-TeamsUserForEnterpriseVoice John@domain.com

Enables John for Enterprise Voice

PARAMETERS

-UserObject

CsOnlineUser Object

Type: Object
Parameter Sets: Object
Aliases:

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

-LicenseObject

AzureAdUserLicense Object

Type: Object
Parameter Sets: Object
Aliases:

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

-UserPrincipalName

Required for Parameterset UserPrincipalName. UserPrincipalName of the User to be enabled.

Type: String[]
Parameter Sets: UserPrincipalName
Aliases: ObjectId, Identity

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Force

Suppresses confirmation prompt unless -Confirm is used explicitly

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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

-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

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.String

OUTPUTS

System.Void - If called directly

Boolean - If called by another CmdLet

NOTES

Simple helper function to enable and verify a User is enabled for Enterprise Voice Returns boolean result and less communication if called by another function Can be used providing either the UserPrincipalName or the already queried CsOnlineUser Object

RELATED LINKS

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/Enable-TeamsUserForEnterpriseVoice.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_VoiceConfiguration.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_UserManagement.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_Supporting_Functions.md

https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/