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

Commit

Permalink
Merge pull request #5 from istairbn/master
Browse files Browse the repository at this point in the history
Fixed Network Type issue
  • Loading branch information
bgelens committed May 24, 2017
2 parents ffa2a39 + 05c1db6 commit b3d321e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WapTenantPublicAPI.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,8 @@ function New-WAPVMRoleParameterObject {
Add-Member -InputObject $Output -MemberType NoteProperty -Name $P.Name -Value 'domain\username:password' -Force
} elseif ($P.Type -eq 'Network') {
Add-Member -InputObject $Output -MemberType NoteProperty -Name $P.Name -Value $($VMNetwork.Name) -Force
} elseif ($P.Name -eq 'VMRoleNetworkRef') {
Add-Member -InputObject $Output -MemberType NoteProperty -Name $P.Name -Value $($VMNetwork.Name) -Force
} elseif ($P.DefaultValue) {
Add-Member -InputObject $Output -MemberType NoteProperty -Name $P.Name -Value $P.DefaultValue -Force
} elseif ($Interactive) {
Expand Down

0 comments on commit b3d321e

Please sign in to comment.