File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ResourceManager/Batch
Commands.Batch.Test/ScenarioTests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function Test-NewPool
31
31
$osFamily = " 4"
32
32
$targetDedicated = 1
33
33
$resizeTimeout = ([TimeSpan ]::FromMinutes(10 ))
34
- New-AzureBatchPool_ST - Name $poolName1 - OSFamily $osFamily - TargetDedicated $targetDedicated - ResizeTimeout $resizeTimeout - BatchContext $context
34
+ New-AzureBatchPool_ST $poolName1 - OSFamily $osFamily - TargetDedicated $targetDedicated - ResizeTimeout $resizeTimeout - BatchContext $context
35
35
$pool1 = Get-AzureBatchPool_ST - Name $poolName1 - BatchContext $context
36
36
37
37
# Verify created Pool matches expectations
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class NewBatchPoolCommand : BatchObjectModelCmdletBase
27
27
internal const string TargetDedicatedParameterSet = "TargetDedicated" ;
28
28
internal const string AutoScaleParameterSet = "AutoScale" ;
29
29
30
- [ Parameter ( Mandatory = true , HelpMessage = "The name of the Pool to create." ) ]
30
+ [ Parameter ( Position = 0 , Mandatory = true , HelpMessage = "The name of the Pool to create." ) ]
31
31
[ ValidateNotNullOrEmpty ]
32
32
public string Name { get ; set ; }
33
33
You can’t perform that action at this time.
0 commit comments