Initialize the Storage Emulator by Using the Command-Line Tool
http://msdn.microsoft.com/en-us/library/azure/gg433132.aspx
To initialize the storage emulator
-
Click the Start button or press the Windows key. Begin typing Windows Azure Storage Emulator and select it when it appears. A command prompt window will pop up.
-
In the command prompt window, type the following command:
WAStorageEmulator init /sqlInstance <SQLServerInstance>
where
<SQLServerInstance>
is the name of the SQL Server instance. To use LocalDb, specify(localdb)\v11.0
as the SQL Server instance.You can also use the following command, which directs the emulator to use the default SQL Server instance:
WAStorageEmulator init /server .\\
Or, you can use the following command, which reinitializes the database:
WAStorageEmulator init /forceCreate
![]() |
---|
Using the /forcecreate argument removes all existing storage emulator data. |