CmdID

CmdID / PowerShell / Cmdlets / Set

Set-User

Use the Set-User cmdlet to modify user attributes. Exchange PowerShell reference

From the Exchange PowerShell reference 68 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

68 in the Exchange PowerShell reference
Show its 68 parameters
-IdentityThe Identity parameter specifies the user that you want to modify.
-AllowUMCallsFromNonUsersThe AllowUMCallsFromNonUsers parameter specifies whether to exclude the user from Unified Messaging directory searches.
-ArbitrationThe Arbitration switch is required to modify arbitration mailboxes.
-AssistantNameThe AssistantName parameter specifies the name of the user's assistant.
-AuthenticationPolicyThe AuthenticationPolicy parameter specifies the authentication policy to apply to the user.
-BlockCloudCache
-CanHaveCloudCache
-CertificateSubjectThe CertificateSubject parameter specifies the value of the subject field of the user's digital certificate.
-CityThe City parameter specifies the user's city.
-ClearDataEncryptionPolicy
-CompanyThe Company parameter specifies the user's company.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-CountryOrRegionThe CountryOrRegion parameter specifies the user's country or region.
-CreateDTMFMapThe CreateDTMFMap parameter specifies whether to create a dual-tone multiple-frequency (DTMF) map for the recipient.
-DepartmentThe Department parameter specifies the user's department.
-DesiredWorkloads
-DisplayNameThe DisplayName parameter specifies the display name of the user.
-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.
-EXOModuleEnabledThe EXOModuleEnabled parameter specifies whether the user can connect to Exchange Online PowerShell in Microsoft 365 organizations using the Exchange Online PowerShell V3 module.
-FaxThe Fax parameter specifies the user's fax number.
-FirstNameThe FirstName parameter specifies the user's first name.
-ForceThe Force switch hides warning or confirmation messages.
-GeoCoordinatesThe GeoCoordinates parameter specifies the user's location in latitude, longitude and (optionally) altitude coordinates.
-HomePhoneThe HomePhone parameter specifies the user's home telephone number.
-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.
-InitialsThe Initials parameter specifies the user's middle initials.
-IsShadowMailbox
-LastNameThe LastName parameter specifies the user's last name.
-LinkedCredentialThe LinkedCredential parameter specifies the username and password that's used to access the domain controller specified by the LinkedDomainController parameter.
-LinkedDomainControllerThe LinkedDomainController parameter specifies the domain controller in the forest where the user account resides, if this user is a linked user.
-LinkedMasterAccountThe LinkedMasterAccount parameter specifies the master account in the forest where the user account resides, if this user is a linked user.
-MailboxRegion
-MailboxRegionSuffix
-ManagedOnboardingType
-ManagerThe Manager parameter specifies the user's manager.
-MobilePhoneThe MobilePhone parameter specifies the user's primary mobile phone number.
-NameThe Name parameter specifies the unique name of the user.
-NotesThe Notes parameters specifies additional information about the object.
-OfficeThe Office parameter specifies the user's physical office name or number.
-OtherFaxThe OtherFax parameter specifies the user's alternative fax number.
-OtherHomePhoneThe OtherHomePhone parameter specifies the user's alternative home telephone number.
-OtherTelephoneThe OtherTelephone parameter specifies the user's alternative telephone number.
-PagerThe Pager parameter specifies the user's pager number.
-PermanentlyClearPreviousMailboxInfoThe PermanentlyClearPreviousMailboxInfo switch specifies whether to clear the Exchange Online mailbox attributes on a user.
-PhoneThe Phone parameter specifies the user's office telephone number.
-PhoneticDisplayNameThe PhoneticDisplayName parameter specifies an alternate spelling of the user's name that's used for text to speech in Unified Messaging (UM) environments.
-PostalCodeThe PostalCode parameter specifies the user's zip code or postal code.
-PostOfficeBoxThe PostOfficeBox parameter specifies the user's post office box number.
-PublicFolderThe PublicFolder switch is required to modify public folder mailboxes.
-RemotePowerShellEnabledThe RemotePowerShellEnabled parameter specifies whether the user has access to Exchange PowerShell.
-RemoveMailboxProvisioningConstraintThis parameter is reserved for internal Microsoft use.
-ResetPasswordOnNextLogonThe ResetPasswordOnNextLogon parameter specifies whether the user must change their password the next time they log on.
-SamAccountNameThe SamAccountName parameter (also known as the pre-Windows 2000 user account or group name) specifies an object identifier that's compatible with older versions of Microsoft Windows client and serve…
-SeniorityIndexThe SeniorityIndex parameter specifies the order in which this user is displayed in a hierarchical address book.
-SimpleDisplayNameThe SimpleDisplayName parameter is used to display an alternative description of the object when only a limited set of characters is permitted.
-SkipDualWriteThis parameter is reserved for internal Microsoft use.
-StateOrProvinceThe StateOrProvince parameter specifies the user's state or province.
-StreetAddressThe StreetAddress parameter specifies the user's physical address.
-StsRefreshTokensValidFromThe StsRefreshTokensValidFrom specifies the date-time that the user's STS refresh tokens are valid from.
-TelephoneAssistantThe TelephoneAssistant parameter specifies the telephone number of the user's assistant.
-TitleThe Title parameter specifies the user's title.
-UMCallingLineIdsThe UMCallingLineIds parameter specifies telephone numbers or extensions that can be mapped to a Unified Messaging (UM)-enabled user.
-UMDtmfMapThe UMDtmfMap parameter specifies the dual-tone multiple-frequency (DTMF) map values for the recipient.
-UserPrincipalNameThe UserPrincipalName parameter specifies the logon name for the user account.
-VIPThe VIP parameter specifies whether the user is a priority account.
-WebPageThe WebPage parameter specifies the user's Web page.
-WhatIf, -wiThis parameter is reserved for internal Microsoft use.
-WindowsEmailAddressThe WindowsEmailAddress parameter specifies the Windows email address for this recipient.