Skip to content

Commit

Permalink
Release 1.22.921.1
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Sep 21, 2022
1 parent 131f1d7 commit a9a4d0d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ function Set-TargetResource
# AvailabilityAddressSpace doe not have a new-AvailabilityAddressSpace cmdlet but instead uses an add-AvailabilityAddressSpace cmdlet
try
{
$AvailabilityAddressSpaceParams.Remove('Identity') | Out-Null
$AvailabilityAddressSpaceParams.Remove('Credentials') | Out-Null
add-AvailabilityAddressSpace @AvailabilityAddressSpaceParams -ea stop
}
catch
Expand All @@ -279,6 +281,8 @@ function Set-TargetResource

try
{
$AvailabilityAddressSpaceParams.Remove('Identity') | Out-Null
$AvailabilityAddressSpaceParams.Remove('Credentials') | Out-Null
add-AvailabilityAddressSpace @AvailabilityAddressSpaceParams -ea stop
}
catch
Expand Down

0 comments on commit a9a4d0d

Please sign in to comment.