Export (0) Print
Expand All
4 out of 10 rated this helpful - Rate this topic

Storage Emulator Command-Line Tool Reference

Updated: April 18, 2014

Starting in version 3.0, when you launch the Storage Emulator you will see a command prompt pop up. Use the command prompt to start and stop the emulator as well as query for status and perform other operations.

noteNote
If you have the Compute Emulator installed, a system tray icon will appear when you launch the Storage Emulator. Right-click on the icon to reveal a menu, which provides a graphical way to start and stop the Storage Emulator.

WAStorageEmulator [/start] [/stop] [/status] [/clear] [/init] [/help]

To view the list of options, type /help at the command prompt.

 

Option Description Command Arguments

Start

Starts up the storage emulator.

WAStorageEmulator start [-inprocess]

 

-inprocess

Start the emulator in the current process instead of creating a new process.

Stop

Stops the storage emulator.

WAStorageEmulator stop

Status

Prints the status of the storage emulator.

WAStorageEmulator status

Clear

Clears the data in all services specified on the command line.

WAStorageEmulator clear [blob] [table] [queue] [all]

 

blob

Clears data in the Blob service.

queue

Clears data in the Queue service.

table

Clears data in the Table service.

all

Clears all data in all services.

Init

Performs one-time initialization to set up the emulator.

WAStorageEmulator.exe init [-server serverName] [-sqlinstance instanceName] [-forcecreate] [-inprocess]

 

-server serverName

Specifies the server hosting the SQL instance.

-sqlinstance instanceName

Specifies the name of the SQL instance to be used.

-forcecreate

Forces creation of the SQL database, even if it already exists.

-inprocess

Performs initialization in the current process instead of spawning a new process. This requires the current process to have been launched with elevated permissions.

See Also

Show:
© 2014 Microsoft. All rights reserved.