Skip to content

Commit ee31f3b

Browse files
committed
Adding deploy command for powershell
1 parent f297b4f commit ee31f3b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

articles/service-fabric-mesh/service-fabric-mesh-quickstart-deploy-container.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,18 @@ az group create --name myResourceGroup --location eastus
4141
```
4242

4343
## Deploy the application
44-
Create your application in the resource group using the `az mesh deployment create` command:
44+
Create your application in the resource group using the `az mesh deployment create` command. If you're using a Bash console, run the following:
4545

4646
```azurecli-interactive
4747
az mesh deployment create --resource-group myResourceGroup --template-uri https://sfmeshsamples.blob.core.windows.net/templates/helloworld/mesh_rp.linux.json --parameters "{\"location\": {\"value\": \"eastus\"}}"
4848
```
49+
50+
If you're using a PowerShell console, run the following:
51+
52+
```azurecli-interactive
53+
az mesh deployment create --resource-group myResourceGroup --template-uri https://sfmeshsamples.blob.core.windows.net/templates/helloworld/mesh_rp.linux.json --parameters "{'location': {'value': 'eastus'}}"
54+
```
55+
4956
The preceding command deploys a Linux application using [mesh_rp.linux.json template](https://sfmeshsamples.blob.core.windows.net/templates/helloworld/mesh_rp.linux.json). If you want to deploy a Windows application, use [mesh_rp.windows.json template](https://sfmeshsamples.blob.core.windows.net/templates/helloworld/mesh_rp.windows.json). Windows container images are larger than Linux container images and may take more time to deploy.
5057

5158
In a few minutes, the command returns:

0 commit comments

Comments
 (0)