Tried running PowerPug on 3 different AD forrests, but all fail with the following error:
Test-PPUserPugMember : Cannot validate argument on parameter 'PugMembership'. The argument is null or empty. Provide an
argument that is not null or empty, and then try the command again.
At C:\Users\ACCNAME\Documents\WindowsPowerShell\Modules\PowerPUG\2024.11.11\PowerPUG.psm1:1357 char:67
- ... $PugMember = Test-PPUserPugMember -User $_ -PugMembership $PugMembers
-
- CategoryInfo : InvalidData: (:) [Test-PPUserPugMember], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Test-PPUserPugMember
Method invocation failed because [System.DirectoryServices.AccountManagement.UserPrincipal] does not contain a method n
amed 'op_Addition'.
At C:\Users\ACCNAME\Documents\WindowsPowerShell\Modules\PowerPUG\2024.11.11\PowerPUG.psm1:1585 char:5
-
$ADAdmins = $Environment.ForestAdmins + $Environment.DomainAdmins
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (op_Addition:String) [], RuntimeException
- FullyQualifiedErrorId : MethodNotFound
Tried running PowerPug on 3 different AD forrests, but all fail with the following error:
Test-PPUserPugMember : Cannot validate argument on parameter 'PugMembership'. The argument is null or empty. Provide an
argument that is not null or empty, and then try the command again.
At C:\Users\ACCNAME\Documents\WindowsPowerShell\Modules\PowerPUG\2024.11.11\PowerPUG.psm1:1357 char:67
Method invocation failed because [System.DirectoryServices.AccountManagement.UserPrincipal] does not contain a method n
amed 'op_Addition'.
At C:\Users\ACCNAME\Documents\WindowsPowerShell\Modules\PowerPUG\2024.11.11\PowerPUG.psm1:1585 char:5