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-powershell-v2.md
+51-23Lines changed: 51 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,29 +185,43 @@ The EXO V2 module is supported in the following versions of Windows:
185
185
186
186
### Install the EXO V2 module
187
187
188
-
To install the EXO V2 module for the first time, complete the following steps**in an elevated PowerShell window**:
188
+
To install the EXO V2 module for the first time, complete the following steps:
189
189
190
190
1. Install or update the PowerShellGet module as described in [Installing PowerShellGet](https://docs.microsoft.com/powershell/scripting/gallery/installing-psget).
191
191
192
-
2. Close and re-open the window.
192
+
2. Close and re-open the Windows PowerShell window.
193
193
194
194
3. Now you can use the **Install-Module** cmdlet to install the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also install a Preview version if one is available.
195
195
196
-
- To install **the latest public version** of the module, run the following command:
196
+
- To install **the latest public version** of the module, run **one** of the the following commands:
197
197
198
-
```powershell
199
-
Install-Module -Name ExchangeOnlineManagement
200
-
```
198
+
- In an elevated PowerShell window (all users):
201
199
202
-
Enter **Y** to accept the license agreement.
200
+
```powershell
201
+
Install-Module -Name ExchangeOnlineManagement
202
+
```
203
203
204
-
- To install **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run the following command:
2. You can use the **Update-Module** cmdlet **in an elevated PowerShell window** to update the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also upgrade to a Preview version if one is available.
238
+
2. You can use the **Update-Module** cmdlet to update the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also upgrade to a Preview version if one is available.
239
+
240
+
- To upgrade to **the latest public version** of the module, run **one** of the following commands based on how you originally installed the module (in an elevated PowerShell window vs. `Scope CurrentUser`):
- To upgrade to **the latest public version** of the module, run the following command:
254
+
- To upgrade to **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run **one** of the following commands based on how you originally installed the module (in an elevated PowerShell window vs. `Scope CurrentUser`):
0 commit comments