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
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
100
100
101
101
> The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.
102
102
103
-
> NOTE
103
+
> [!NOTE]
104
104
> We never send the username and password combination here, but the Basic auth header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
105
105
106
106
### Install the EXO V2 module
@@ -127,9 +127,12 @@ To install the EXO V2 module for the first time, run the following commands:
127
127
Set-ExecutionPolicy RemoteSigned
128
128
```
129
129
130
-
> NOTES
131
-
> - You need to configure this setting only once on your computer. Read more about execution policies [here](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies).
132
-
> - If you don't do this step, you'll receive the following error when you try to connect:
130
+
**Notes**:
131
+
132
+
- You need to configure this setting only once on your computer. Read more about execution policies [here](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies).
133
+
134
+
- If you don't do this step, you'll receive the following error when you try to connect:
135
+
133
136
> Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
134
137
135
138
3. Close and re-open the elevated Windows PowerShell window to get the changes from the previous steps.
@@ -160,8 +163,7 @@ If the EXO V2 module is already installed on your computer, you can run the foll
160
163
161
164
Enter **Y** to accept the license agreement.
162
165
163
-
> NOTE
164
-
> If you receive the following error related to the PowerShellGet module, see Step 1 in the previous [Install the EXO V2 module](#install-the-exo-v2-module) section to update the PowerShellGet module to the latest version.
166
+
**Note**: If you receive the following error related to the PowerShellGet module, see Step 1 in the previous [Install the EXO V2 module](#install-the-exo-v2-module) section to update the PowerShellGet module to the latest version.
165
167
166
168
> The specified module 'ExchangeOnlineManagement' with PowerShellGetFormatVersion '\<version\>' is not supported by the current version of PowerShellGet. Get the latest version of the PowerShellGet module to install this module, 'ExchangeOnlineManagement'.
167
169
@@ -181,13 +183,13 @@ To uninstall the module, run the following command:
181
183
Uninstall-Module -Name ExchangeOnlineManagement
182
184
```
183
185
184
-
> TIP
185
-
> Having problems? Ask for help in the Exchange forums. Visit the forums at: [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542), or [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351).
186
+
> [!TIP]
187
+
> Having problems? Ask for help in the Exchange forums. Visit the forums at: [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542), or [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351).
186
188
187
189
## Connect to Exchange Online using the EXO V2 module
188
190
189
-
> NOTE
190
-
> If your account uses multi-factor authentication (MFA), skip the first step (the **Get-Credential** cmdlet doesn't support MFA enabled accounts).
191
+
> [!NOTE]
192
+
> If your account uses multi-factor authentication (MFA), skip the first step (the **Get-Credential** cmdlet doesn't support MFA enabled accounts).
191
193
192
194
1. On your local computer, open a Windows PowerShell window and run the following command:
193
195
@@ -237,8 +239,7 @@ Property sets are controlled by the following parameters on the EXO V2 module cm
> Cmdlets that only return a small number of output properties don't have the *PropertySet* or *Properties* parameters.
242
+
**Note**: Cmdlets that only return a small number of output properties don't have the *PropertySet* or *Properties* parameters.
242
243
243
244
You can use *PropertySets* and *Properties* in the same command. For example:
244
245
@@ -276,8 +277,8 @@ The following example returns all properties for the 10 mailboxes:
276
277
Get-EXOMailbox -ResultSize 10 -PropertySets All
277
278
```
278
279
279
-
> NOTE
280
-
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve only the requires properties.
280
+
> [!NOTE]
281
+
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve only the requires properties.
0 commit comments