|
284 | 284 | </maml:para>
|
285 | 285 | </maml:introduction>
|
286 | 286 | <dev:code>
|
287 |
| - PS C:\>Get-AzureBatchAccount -AccountName "pfuller" |
288 |
| - AccountName Location ResourceGroupName Tags TaskTenantUrl |
289 |
| - ----------- -------- ----------------- ---- ------------- |
290 |
| - pfuller westus CmdletExampleRG https://Batch.core.contoso.net |
| 287 | + PS C:\>Get-AzureBatchAccount -AccountName "cmdletexample" |
| 288 | + AccountName Location ResourceGroupName Tags TaskTenantUrl |
| 289 | + ----------- -------- ----------------- ---- ------------- |
| 290 | + cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com |
291 | 291 | </dev:code>
|
292 | 292 | <dev:remarks>
|
293 |
| - <maml:para>This command gets the Batch account named pfuller.</maml:para> |
| 293 | + <maml:para>This command gets the Batch account named cmdletexample.</maml:para> |
294 | 294 | <maml:para />
|
295 | 295 | <maml:para />
|
296 | 296 | </dev:remarks>
|
|
308 | 308 | </maml:introduction>
|
309 | 309 | <dev:code>
|
310 | 310 | PS C:\>Get-AzureBatchAccount -ResourceGroupName "CmdletExampleRG"
|
311 |
| - AccountName Location ResourceGroupName Tags TaskTenantUrl |
312 |
| - ----------- -------- ----------------- ---- ------------- |
313 |
| - cmdletexample westus CmdletExampleRG https://Batch.core.contoso.net |
314 |
| - cmdletexample2 westus CmdletExampleRG https://Batch.core.contoso.net |
| 311 | + AccountName Location ResourceGroupName Tags TaskTenantUrl |
| 312 | + ----------- -------- ----------------- ---- ------------- |
| 313 | + cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com |
| 314 | + cmdletexample2 westus CmdletExampleRG https://cmdletexample2.westus.batch.azure.com |
315 | 315 | </dev:code>
|
316 | 316 | <dev:remarks>
|
317 | 317 | <maml:para>This command gets the Batch accounts associated with the CmdletExampleRG resource group.</maml:para>
|
|
3751 | 3751 | </maml:para>
|
3752 | 3752 | </maml:introduction>
|
3753 | 3753 | <dev:code>
|
3754 |
| - PS C:\>New-AzureBatchAccountKey -AccountName "CmdletExample" -KeyType "Primary" |
3755 |
| - AccountName Location ResourceGroupName Tags TaskTenantUrl |
3756 |
| - ----------- -------- ----------------- ---- ------------- |
3757 |
| - cmdletexample westus CmdletExample https://Batch.core.contoso.net |
| 3754 | + PS C:\>New-AzureBatchAccountKey -AccountName "cmdletexample" -KeyType "Primary" |
| 3755 | + AccountName Location ResourceGroupName Tags TaskTenantUrl |
| 3756 | + ----------- -------- ----------------- ---- ------------- |
| 3757 | + cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com |
3758 | 3758 | </dev:code>
|
3759 | 3759 | <dev:remarks>
|
3760 | 3760 | <maml:para>This command regenerates the primary account key on the Batch account named CmdletExample.</maml:para>
|
|
3938 | 3938 | <dev:code>
|
3939 | 3939 | PS C:\>New-AzureBatchAccount -AccountName "cmdletexample" -ResourceGroupName "CmdletExampleRG" -Location "WestUS"
|
3940 | 3940 |
|
3941 |
| - AccountName Location ResourceGroupName Tags TaskTenantUrl |
3942 |
| - ----------- -------- ----------------- ---- ------------- |
3943 |
| - cmdletexample WestUS CmdletExampleRG https://Batch.core.contoso.net |
| 3941 | + AccountName Location ResourceGroupName Tags TaskTenantUrl |
| 3942 | + ----------- -------- ----------------- ---- ------------- |
| 3943 | + cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com |
3944 | 3944 | </dev:code>
|
3945 | 3945 | <dev:remarks>
|
3946 | 3946 | <maml:para>This command creates a new Batch account named cmdletexample using the CmdletExampleRG resource group in the WestUS location.</maml:para>
|
|
7199 | 7199 | PS C:\>Set-AzureBatchAccount -AccountName "cmdletexample" -Tag @(@{Name = "tag1";Value = "value1"},@{Name = "tag2";Value = "value2"})
|
7200 | 7200 |
|
7201 | 7201 |
|
7202 |
| - AccountName Location ResourceGroupName Tags TaskTenantUrl |
7203 |
| - ----------- -------- ----------------- ---- ------------- |
7204 |
| - cmdletexample westus cmdletexamplerg {System.Collection https://Batch.core.windows.net |
7205 |
| - s.Hashtable, Syste |
7206 |
| - m.Collections.Hash |
7207 |
| - table} |
| 7202 | + AccountName Location ResourceGroupName Tags TaskTenantUrl |
| 7203 | + ----------- -------- ----------------- ---- ------------- |
| 7204 | + cmdletexample westus CmdletExampleRG {System.Collection https://cmdletexample.westus.batch.azure.com |
| 7205 | + s.Hashtable, Syste |
| 7206 | + m.Collections.Hash |
| 7207 | + table} |
7208 | 7208 | </dev:code>
|
7209 | 7209 | <dev:remarks>
|
7210 | 7210 | <maml:para>This command updates the tags on the cmdletexample account.</maml:para>
|
|
0 commit comments