Hi all,
I'm looking to build a report of what AD users are in specific groups.
I have some PowerShell that yields what I'm looking for:
# Import AD Import-Module ActiveDirectory $groupName = "Network_Admins" # Get all members of the group and filter for users only $users = Get-ADGroupMember -Identity $groupName | Where-Object { $_.objectClass -eq 'user' } # Display the users $users | Select-Object Name, SamAccountName, DistinguishedName
I'm wondering if there is a way that I can go about building a report from this data within SolarWinds? My initial thought was to use SAM to execute this PowerShell on the SolarWinds server itself, but I'm not sure if that's possible?
Thank you.