Skip to content

Commit 7993a16

Browse files
authored
Update test-locally-with-service-bus-emulator.md
Adding fresh changes to running emulator on windows via automated script
1 parent 299d496 commit 7993a16

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/service-bus-messaging/test-locally-with-service-bus-emulator.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,17 @@ Before you run an automated script, clone the emulator's [GitHub installer repos
3535

3636
Use the following steps to run the Service Bus emulator locally on Windows:
3737

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](https://github.com/Azure/azure-service-bus-emulator-installer/tree/main/ServiceBus-Emulator/Scripts/Windows). Running the script brings up two containers: the Service Bus emulator and Sql Edge (a dependency for the emulator).
38+
1. **Open PowerShell** and navigate to the directory where the common [ need to add link to folder] 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* [Need to add link to the script].Running the script brings up two containers: the Service Bus emulator and Sql Edge (a dependency for the emulator).
47+
```bash
48+
./Launchemulator.sh
4349
4450
### Linux and macOS
4551

0 commit comments

Comments
 (0)