Created
June 2, 2012 21:24
-
-
Save litodam/2859997 to your computer and use it in GitHub Desktop.
Restart Windows Azure Storage & Compute Emulator in PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
write-host "========= Resetting Azure Comoute Emulator & Dev Storage... =========" | |
$CSRunFile = "C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\csrun.exe" | |
$DSInitFile = "C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\devstore\DSInit.exe" | |
& $CSRunFile @("/devstore:shutdown") | |
& $CSRunFile @("/devfabric:shutdown") | |
Start-Process $DSInitFile @("/ForceCreate", "/silent") -Wait | |
& $CSRunFile @("/devfabric:shutdown") | |
& $CSRunFile @("/devfabric:clean") | |
& $CSRunFile @("/devfabric:start") | |
& $CSRunFile @("/devstore:start") | |
& $CSRunFile @("/removeAll") | |
write-host "Resetting Azure Comoute Emulator & Dev Storage Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment