Skip to content

Commit cc613b4

Browse files
LingyunSubganapa
authored andcommitted
Add-AzsScaleUnitNode Parameter set fix.
1 parent 6dc2904 commit cc613b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Azs.Fabric.Admin/custom/Add-AzsScaleUnitNode.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ param(
9191
# Flag indicates if the operation should wait for storage to converge before returning.
9292
${AwaitStorageConvergence},
9393

94-
[Parameter(ParameterSetName='BmciPv4Address', Mandatory)]
9594
[Parameter(ParameterSetName='ScaleExpanded', Mandatory)]
95+
[ValidateNotNull()]
9696
[Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')]
9797
[System.String]
9898
# BMC address of the physical machine.
9999
${BmciPv4Address},
100100

101-
[Parameter(ParameterSetName='ComputerName ', Mandatory)]
102101
[Parameter(ParameterSetName='ScaleExpanded', Mandatory)]
102+
[ValidateNotNull()]
103103
[Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Category('Path')]
104104
[System.String]
105105
# Computer name of the physical machine.

0 commit comments

Comments
 (0)