Chris Marshall
Chris Marshall

Reputation: 808

PowerShell Azure Storage emulator

I'm trying to write a PowerShell script to start all the services I need for my development environment and am struggling to find a way to launch azure storage emulator. All I need is a way to start the service but everything i've read online isn't doing the trick.

Thanks in advance.

Upvotes: 2

Views: 599

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 29940

When you manually launch the azure storage emulator, you can find this command line: AzureStorageEmulator.exe start , screenshot as below: enter image description here

so in your powershell script, you can just run this cmd command line:

cmd /c "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start

Then the service starts, screenshot as below: enter image description here

Upvotes: 6

Related Questions