Skip to content

Commit

Permalink
V1.7.5 fix #77
Browse files Browse the repository at this point in the history
  • Loading branch information
kayasax committed Dec 27, 2024
1 parent 0c23c24 commit 624aa9b
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 624aa9b

Please sign in to comment.