File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The **New-AzBatchAccount** cmdlet creates an Azure Batch account for the specifi
26
26
## EXAMPLES
27
27
28
28
### Example 1: Create a Batch account
29
- ```
29
+ ``` powershell
30
30
PS C:\>New-AzBatchAccount -AccountName "pfuller" -ResourceGroupName "ResourceGroup03" -Location "WestUS"
31
31
AccountName : pfuller
32
32
Location : westus
@@ -41,6 +41,15 @@ TaskTenantUrl : https://cmdletexample.westus.batch.azure.com
41
41
42
42
This command creates a Batch account named pfuller using the ResourceGroup03 resource group in the West US location.
43
43
44
+ ### Example 2
45
+
46
+ Creates a Batch account. (autogenerated)
47
+
48
+ <!-- Aladdin Generated Example -->
49
+ ``` powershell
50
+ New-AzBatchAccount -AccountName 'pfuller' -AutoStorageAccountId <String> -Location 'WestUS' -ResourceGroupName 'ResourceGroup03'
51
+ ```
52
+
44
53
## PARAMETERS
45
54
46
55
### -AccountName
Original file line number Diff line number Diff line change @@ -25,13 +25,22 @@ The **Set-AzBatchApplication** cmdlet modifies settings for the specified Azure
25
25
## EXAMPLES
26
26
27
27
### Example 1: Update an application in a Batch account
28
- ```
28
+ ``` powershell
29
29
PS C:\>Set-AzBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "Litware" -AllowUpdates $False
30
30
```
31
31
32
32
This command changes whether the Litware application in the ContosoBatch account allows updates.
33
33
The command does not change the default version or display name of the application.
34
34
35
+ ### Example 2
36
+
37
+ Updates settings for the specified application. (autogenerated)
38
+
39
+ <!-- Aladdin Generated Example -->
40
+ ``` powershell
41
+ Set-AzBatchApplication -AccountName 'ContosoBatch' -ApplicationName 'Litware' -DefaultVersion <String> -ResourceGroupName 'ContosoBatchGroup'
42
+ ```
43
+
35
44
## PARAMETERS
36
45
37
46
### -AccountName
You can’t perform that action at this time.
0 commit comments