CmdID / PowerShell / Cmdlets / Set
Set-CsUser
Modifies Skype for Business properties for an existing user account. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-AcpInfoEnables you to assign one or more third-party audio conferencing providers to a user.-AudioVideoDisabledIndicates whether the user is allowed to make audio/visual (A/V) calls by using Skype for Business.-Confirm, -cfPrompts you for confirmation before executing the command.-DomainControllerEnables you to specify a domain controller to connect to when modifying a user account.-Enabled, -CsEnabledIndicates whether or not the user has been enabled for Skype for Business Server.-EnterpriseVoiceEnabledIndicates whether the user has been enabled for Enterprise Voice, which is the Microsoft implementation of Voice over Internet Protocol (VoIP).-ExchangeArchivingPolicyIndicates where the user's instant messaging sessions are archived.-HostedVoiceMailWhen set to True, enables a user's voice mail calls to be routed to a hosted version of Microsoft Exchange Server.-IdentityIndicates the Identity of the user account to be modified.-LineServerURIThe URI of the remote call control telephone gateway assigned to the user.-LineURIPhone number to be assigned to the user in Skype for Business Server or Direct Routing phone number to be assigned to a Microsoft Teams user in GCC High and DoD cloud instances only.-OnPremLineURISpecifies the phone number assigned to the user if no number is assigned to that user in the Skype for Business hybrid environment.-PassThruEnables you to pass a user object through the pipeline that represents the user whose account is being modified.-PrivateLinePhone number for the user's private telephone line.-RemoteCallControlTelephonyEnabledIndicates whether the user has been enabled for remote call control telephony.-SipAddressUnique identifier (similar to an email address) that allows the user to communicate using SIP devices such as Skype for Business.-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.