简体   繁体   中英

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.

When you manually launch the azure storage emulator, you can find this command line: AzureStorageEmulator.exe start , screenshot as below: 在此处输入图片说明

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: 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM