Password Parameter (Connect-Exchange Cmdlet)
Specifies the password used to authenticate to the Microsoft Exchange server.
Syntax
Connect-Exchange -Password string
Data Type
cstr
Default Value
""
Remarks
Set this property to the password for the user account specified in the User property. The password is used in conjunction with the selected authentication scheme.
Note: Microsoft has deprecated Basic authentication for Exchange Online. If you are connecting to Exchange Online, consider using a modern authentication scheme such as OAuth or Azure AD.
This property is useful for authenticating to on-premise Exchange environments or legacy systems where Basic or NTLM authentication is still supported.
This is a required parameter.