Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
VeryEarly committed Nov 1, 2021
1 parent b279a14 commit a83acef
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function Add-AzAdGroupMember {
$null = $PSBoundParameters.Remove('TargetGroupDisplayName')
} elseif ($PSBoundParameters['TargetGroupObject']) {
$PSBoundParameters['GroupId'] = $PSBoundParameters['TargetGroupObject'].Id
$null = $PSBoundParameters['TargetGroupObject']
$null = $PSBoundParameters.Remove('TargetGroupObject')
} else {
$PSBoundParameters['GroupId'] = $PSBoundParameters['TargetGroupObjectId']
$null = $PSBoundParameters.Remove('TargetGroupObjectId')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ process {
break
}
'ApplicationIdentifierUriParameterSet' {
$PSBOundParameters['Filter'] = "identifierUris/any(s:s eq $($PSBoundParameters[IdentifierUri]))'"
$PSBOundParameters['Filter'] = "identifierUris/any(s:s eq '$($PSBoundParameters['IdentifierUri'])')"
$null = $PSBoundParameters.Remove('IdentifierUri')
break
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ function New-AzAdServicePrincipal {
}
if ($PSBoundParameters['Scope']) {
$spScope = $PSBoundParameters['Scope']
$null = $PSBoundParameters.Remove['Scope']
$null = $PSBoundParameters.Remove('Scope')
}

if ($PSBoundParameters['ApplicationObject']) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function Remove-AzAdGroupMember {
$null = $PSBoundParameters.Remove('GroupDisplayName')
} elseif ($PSBoundParameters['GroupObject']) {
$PSBoundParameters['GroupId'] = $PSBoundParameters['GroupObject'].Id
$null = $PSBoundParameters['GroupObject']
$null = $PSBoundParameters.Remove('GroupObject')
} else {
$PSBoundParameters['GroupId'] = $PSBoundParameters['GroupObjectId']
$null = $PSBoundParameters.Remove('GroupObjectId')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ process {
} catch {
throw
}
$null = $PSBoundParameters['ServicePrincipalName']
$null = $PSBoundParameters.Remove('ServicePrincipalName')
break
}
'DisplayNameParameterSet' {
Expand All @@ -180,7 +180,7 @@ process {
} catch {
throw
}
$null = $PSBoundParameters.Remove['DisplayName']
$null = $PSBoundParameters.Remove('DisplayName')
break
}
'InputObjectParameterSet' {
Expand Down

0 comments on commit a83acef

Please sign in to comment.