Skip to content

Commit

Permalink
Fix variables and parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vreguibar committed Jun 4, 2024
1 parent d81ac33 commit 4074386
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 68 deletions.
4 changes: 3 additions & 1 deletion Public/Add-AdGroupNesting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ function Add-AdGroupNesting {
Process {
# Get group members
Try {
$CurrentMembers = Get-ADGroupMember -Identity $Identity -ErrorAction Stop

Write-Verbose -Message ('Getting members of group {0}' -f $Identity)
$CurrentMembers = Get-ADGroupMember -Identity $Identity

} Catch {
###Get-CurrentErrorToDisplay -CurrentError $error[0]
Expand Down
Loading

0 comments on commit 4074386

Please sign in to comment.