Skip to content

Commit 1d8e832

Browse files
authored
Merge branch 'master' into ExtOut-chrisda
2 parents 0381d6d + eddb2d0 commit 1d8e832

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Connect-ExchangeOnline
3636
[-PageSize <UInt32>]
3737
[-Prefix <String>]
3838
[[-PSSessionOption] <PSSessionOption>]
39+
[ShowBanner]
3940
[-ShowProgress <Boolean>]
4041
[-TrackPerformance <Boolean>]
4142
[-UseMultithreading <Boolean>]
@@ -56,7 +57,7 @@ Connect-ExchangeOnline -Credential $UserCredential
5657

5758
The first command gets the user credentials and stores them in the $UserCredential variable.
5859

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

6162
After the Connect-ExchangeOnline command is successful, you can run ExO V2 module cmdlets and older remote PowerShell cmdlets.
6263

@@ -284,6 +285,26 @@ Accept pipeline input: False
284285
Accept wildcard characters: False
285286
```
286287

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+
287308
### -ShowProgress
288309
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:
289310

0 commit comments

Comments
 (0)