You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first command gets the user credentials and stores them in the $UserCredential variable.
58
59
59
-
The second command connects the current PowerShell session using the credentials in the $UserCredential, which isn't MFA enabled. Note that after the second command is complete, the password key in the $UserCredential variable becomes empty.
60
+
The second command connects the current PowerShell session using the credentials in the $UserCredential, which isn't MFA enabled.
60
61
61
62
After the Connect-ExchangeOnline command is successful, you can run ExO V2 module cmdlets and older remote PowerShell cmdlets.
62
63
@@ -284,6 +285,26 @@ Accept pipeline input: False
284
285
Accept wildcard characters: False
285
286
```
286
287
288
+
### -ShowBanner
289
+
The ShowBanner switch shows or hides the banner message that's displayed when you run Connect-ExchangeOnline. You don't need to specify a value with this switch.
290
+
291
+
To show the banner, you don't need to use this switch (the banner is displayed by default).
292
+
293
+
To hide the banner, use this exact syntax: `-ShowBanner:$false`.
294
+
295
+
```yaml
296
+
Type: SwitchParameter
297
+
Parameter Sets: (All)
298
+
Aliases:
299
+
Applicable: Exchange Online
300
+
301
+
Required: False
302
+
Position: Named
303
+
Default value: $true
304
+
Accept pipeline input: False
305
+
Accept wildcard characters: False
306
+
```
307
+
287
308
### -ShowProgress
288
309
The ShowProgress parameter shows a visual progress bar in the PowerShell client module. The progress bar shows number of objects received and total number of objects requested. Valid values are:
0 commit comments