File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Resources/MSGraph.Autorest/custom Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ function Add-AzAdGroupMember {
134
134
if ($PSBoundParameters [' Debug' ]) {
135
135
$param [' Debug' ] = $PSBoundParameters [' Debug' ]
136
136
}
137
- $PSBoundParameter [' GroupId' ] = (Get-AzAdGroup @param ).Id
137
+ $PSBoundParameters [' GroupId' ] = (Get-AzAdGroup @param ).Id
138
138
$null = $PSBoundParameters.Remove (' TargetGroupDisplayName' )
139
139
} elseif ($PSBoundParameters [' TargetGroupObject' ]) {
140
- $PSBoundParameter [' GroupId' ] = $PSBoundParameters [' TargetGroupObject' ].Id
140
+ $PSBoundParameters [' GroupId' ] = $PSBoundParameters [' TargetGroupObject' ].Id
141
141
$null = $PSBoundParameters [' TargetGroupObject' ]
142
142
} else {
143
143
$PSBoundParameters [' GroupId' ] = $PSBoundParameters [' TargetGroupObjectId' ]
Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ function Remove-AzAdGroupMember {
130
130
if ($PSBoundParameters [' Debug' ]) {
131
131
$param [' Debug' ] = $PSBoundParameters [' Debug' ]
132
132
}
133
- $PSBoundParameter [' GroupId' ] = (Get-AzAdGroup @param ).Id
133
+ $PSBoundParameters [' GroupId' ] = (Get-AzAdGroup @param ).Id
134
134
$null = $PSBoundParameters.Remove (' GroupDisplayName' )
135
135
} elseif ($PSBoundParameters [' GroupObject' ]) {
136
- $PSBoundParameter [' GroupId' ] = $PSBoundParameters [' GroupObject' ].Id
136
+ $PSBoundParameters [' GroupId' ] = $PSBoundParameters [' GroupObject' ].Id
137
137
$null = $PSBoundParameters [' GroupObject' ]
138
138
} else {
139
139
$PSBoundParameters [' GroupId' ] = $PSBoundParameters [' GroupObjectId' ]
You can’t perform that action at this time.
0 commit comments