Skip to content

Commit

Permalink
Merge pull request #78 from kayasax/copyassignment
Browse files Browse the repository at this point in the history
V1.7.5 fix #77
  • Loading branch information
kayasax authored Dec 27, 2024
2 parents 334e9d0 + 624aa9b commit e30919b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion EasyPIM/EasyPIM.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
RootModule = 'EasyPIM.psm1'

# Version number of this module.
ModuleVersion = '1.7.4'
ModuleVersion = '1.7.5'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
1 change: 1 addition & 0 deletions EasyPIM/functions/Get-PIMGroupActiveAssignment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function Get-PIMGroupActiveAssignment {
[Parameter(Position = 0, Mandatory = $true)]
[String]
$tenantID,
[Parameter(Mandatory = $true)]
[string]$groupID,
[string]$memberType,
[string]$principalName,
Expand Down
1 change: 1 addition & 0 deletions EasyPIM/functions/Get-PIMGroupEligibleAssignment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function Get-PIMGroupEligibleAssignment {
$tenantID,
# select the most usefull info only
[switch]$summary,
[Parameter(Mandatory = $true)]
[string]$groupID,
[string]$rolename,
[string]$principalName
Expand Down
4 changes: 4 additions & 0 deletions EasyPIM/functions/Get-PIMGroupPolicy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ function Get-PIMGroupPolicy {

}

#fix #77
elseif (!( $PSBoundParameters.ContainsKey('groupID'))) {
throw "You must provide a groupID or a groupName"
}

$out = @()
$groupID | ForEach-Object {
Expand Down

0 comments on commit e30919b

Please sign in to comment.