Skip to content

Commit

Permalink
♻️ UPDATE Set-PASAccount
Browse files Browse the repository at this point in the history
Fixed parametersets - last update resulted in `V10*` parametersets not being able to be used if piping an object into `Set-PASAccount`
  • Loading branch information
pspete committed Jun 24, 2019
1 parent 4ebec86 commit 6cf95d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions psPAS/Functions/Accounts/Set-PASAccount.ps1
Expand Up @@ -229,6 +229,16 @@ To move accounts to a different folder, Move accounts/folders permission is requ
)]
[hashtable]$Properties = @{ },

[parameter(
Mandatory = $false,
ValueFromPipeline = $false,
ParameterSetName = "V10SingleOp"
)]
[parameter(
Mandatory = $false,
ValueFromPipeline = $false,
ParameterSetName = "V10MultiOp"
)]
[parameter(
Mandatory = $false,
ValueFromPipeline = $true,
Expand Down

0 comments on commit 6cf95d1

Please sign in to comment.