![]() By default, the cmdlet uses the credentials of the current user. Use a username, such as User01 or Domain01\User01, or enter a PSCredential object, such as one from the Get-Credential cmdlet. Specifies a user account that has permission to perform this action. Sets the default consistency level for the emulator to Session, Strong, Eventual, or BoundedStaleness. Hence, ComputePort and ComputePort 79 must be open and available. The gateway's HTTP endpoint probe port is calculated as ComputePort 79. Port to use for the compute interop gateway service. Port number to use for the API for Cassandra. ![]() You must also specify a value for Key or KeyFile to allow network access.Īlternative location path to the emulator executable. Īllow access from all IP Addresses assigned to the emulator's host. Run the following cmdlet to use the PowerShell module: The emulator comes with a PowerShell module to start, stop, uninstall, and retrieve the status of the service. Manage the emulator with PowerShell cmdlets Set the default consistency level for the account. The generated key can be used with the /Key or /KeyFile options. Generate a new authorization key and save to the specified file. exe /AllowNetworkAccess /Key=D67PoU0bcK/kgPKFHu4W 3SUY9LNcwcFLIUHnwrkA=ĭon't adjust firewall rules when /AllowNetworkAccess option is used. You must also pass /Key= or / KeyFile= to enable network access. exe /DefaultPartitionCount=50Įnables access to the emulator over a network. Specifies the default number of partitions for a partitioned container. For more information, see change the number of containers. ![]() Specifies the maximum number of partitioned containers. Specifies that request rate limiting behavior is disabled. Specifies that request rate limiting behavior is enabled. exe /Key:D67PoU0bcK/kgPKFHu4W 3SUY9LNcwcFLIUHnwrkA= Key must be the base-64 encoding of a 64-byte vector. exe /DirectPorts:65600,65700Īuthorization key for the emulator. Specifies the ports to use for direct connectivity. optionally including a comma-separated list of extra DNS names for accessing the emulator over the network. Generate and install a new self-signed TLS/SSL certificate. You should then use the /GenCert option to create and install a new self-signed TLS/SSL certificate. With this option, the emulator instead fails at startup. exe /StopWprTracesīy default the emulator regenerates its self-signed TLS/SSL certificate, if the certificate's SAN doesn't include the emulator host's domain name, local IPv4 address, localhost, and 127.0.0.1. Stop collecting debug trace logs using Windows Performance Recording tool. Start collecting debug trace logs using Windows Performance Recording tool. ![]() Stop collecting debug trace logs using LOGMAN. Start collecting debug trace logs using LOGMAN. If you don't specify a path, it defaults to %LOCALAPPDATA%\CosmosDbEmulator. Recursively removes all the files in the specified path. Use the /GenKeyFile option to generate a keyfile. Read authorization key from the specified file. ![]() Port number to use for the API for Table Endpoint. Port number to use for the API for Apache Gremlin Endpoint. Specifies the port number to use for the API for Cassandra endpoint. Specifies the port number to use for API for MongoDB. Specifies the port number to use for the compute interop gateway service. Specifies the port number to use for the emulator. The default value is %LocalAppdata%\CosmosDBEmulator. Specifies the path in which to store data files. A negative exit code indicates that an error occurred. Each exit code indicates a status: 1 = Starting, 2 = Running, and 3 = Stopped. Starts up the emulator with default settings.ĭisplays the list of supported command-line arguments. To view the list of parameters, type .exe /? at the command prompt. ![]()
0 Comments
Leave a Reply. |