Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 4 years old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Product, version and build:
64 b - primalscript 2020 - version 7.7.139
Operating system:
64 bit OS: win 10 enterprise
I am looking for a way to get Ad groups, its members (name), Authorig (users that have the ability to send to group) and export results. Here is what I am going with. It gets the group, user name but having issues with getting the authorig. I am thinking it won't really work due the way I going about getting the groups and members. I tried to re-think the way to go about getting the info. Anyone got thoughts on how to go about this?
To get attributes of a user you need to use Get-AdUser. I have no idea what authorig is as it is not an attribute of any object in AD. Is it a schema addition?
I can't get this to run, it is having issues with "identity"
ERROR: Get-ADGroupMember : Cannot validate argument on parameter 'Identity'. The argument is null or empty. Provide an argument that is not null or empty, and then
ERROR: try the command again
ERROR: + Get-ADGroupMember -Identity $Group |
ERROR: + ~~~~~~
ERROR: + CategoryInfo : InvalidData: (:) [Get-ADGroupMember], ParameterBindingValidationException
ERROR: + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.ActiveDirectory.Management.Commands.GetADGroupMember
ERROR:
This topic is 4 years old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.