Skip to content

Commit aa8ca27

Browse files
Merge pull request #233168 from seesharprun/cosmos-update-emulator-ps-import
Cosmos DB | Fixed import instructions for emulator PS modules
2 parents d4f6021 + f0ec1cf commit aa8ca27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cosmos-db/emulator-command-line-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: reference
77
author: seesharprun
88
ms.author: sidandrews
99
ms.reviewer: mjbrown
10-
ms.date: 03/16/2023
10+
ms.date: 04/03/2023
1111
ms.custom: contperf-fy21q1, ignite-2022
1212
---
1313

@@ -76,13 +76,13 @@ To view the list of parameters, type `Microsoft.Azure.Cosmos.Emulator.exe /?` at
7676
The emulator comes with a PowerShell module to start, stop, uninstall, and retrieve the status of the service. Run the following cmdlet to use the PowerShell module:
7777

7878
```powershell
79-
Import-Module "$env:ProgramFiles\emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
79+
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
8080
```
8181

8282
or place the `PSModules` directory on your `PSModulePath` and import it as shown in the following command:
8383

8484
```powershell
85-
$env:PSModulePath += ";$env:ProgramFiles\emulator\PSModules"
85+
$env:PSModulePath += ";$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules"
8686
Import-Module Microsoft.Azure.CosmosDB.Emulator
8787
```
8888

0 commit comments

Comments
 (0)