Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Fixed #468
Browse files Browse the repository at this point in the history
  • Loading branch information
sammcgeown committed Feb 7, 2018
1 parent 85c9bda commit ab143dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7616,7 +7616,6 @@ function New-NsxController {
}

# Check for presence of optional controller name
if ($PSBoundParameters.ContainsKey("ControllerName")) {Add-XmlElement -xmlRoot $ControllerSpec -xmlElementName "name" -xmlElementText $ControllerName.ToString()}
if ($PSBoundParameters.ContainsKey("Password") -and ($Ctrlcount.count -eq 0)) {Add-XmlElement -xmlRoot $ControllerSpec -xmlElementName "password" -xmlElementText $Password.ToString()}
Add-XmlElement -xmlRoot $ControllerSpec -xmlElementName "datastoreId" -xmlElementText $DataStore.ExtensionData.Moref.value.ToString()
Add-XmlElement -xmlRoot $ControllerSpec -xmlElementName "networkId" -xmlElementText $PortGroup.ExtensionData.Moref.Value.ToString()
Expand Down

0 comments on commit ab143dd

Please sign in to comment.