Skip to content

Commit 299d496

Browse files
authored
Update test-locally-with-event-hub-emulator.md
Adding fresh changes to running emulator using automated script on windows
1 parent 831ea5f commit 299d496

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

articles/event-hubs/test-locally-with-event-hub-emulator.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,20 @@ Before you run an automated script, clone the emulator's [GitHub installer repos
3333

3434
### Windows
3535

36-
Use the following steps to run the Event Hubs emulator locally on Windows:
37-
38-
1. Allow the execution of unsigned scripts by running this command in the PowerShell window:
39-
40-
`$>Start-Process powershell -Verb RunAs -ArgumentList 'Set-ExecutionPolicy Bypass –Scope CurrentUser'`
41-
42-
1. Run the setup script *LaunchEmulator.ps1*. Running the script brings up two containers: the Event Hubs emulator and Azurite (a dependency for the emulator).
36+
Use the following steps to run the Event Hubs emulator locally on Windows.
37+
38+
1. **Open PowerShell** and navigate to the directory where the common scripts folder is cloned using `cd`:
39+
```powershell
40+
cd <path to your common scripts folder> # Update this path
41+
42+
2. Issue wsl command to open WSL at this directory.
43+
```powershell
44+
wsl
45+
46+
3. **Run the setup script** *./LaunchEmulator.sh* Running the script brings up two containers: the Event Hubs emulator and Azurite (a dependency for the emulator).
47+
```bash
48+
./Launchemulator.sh
49+
4350
4451
### Linux and macOS
4552

0 commit comments

Comments
 (0)