- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-18-2024 06:59 AM
Hi,
I've created a playbook to analyze some alerts related to SOC and GPO, but the alerts come with ObjectGUID and I need to convert the GUID to DisplayName.
In PowerShell, the command is simple: (Get-GPO -Guid "$GUID").DisplayName
.
I tried running this command in the war room, but it didn't work... Does anyone know how I can do this?"
04-19-2024 05:16 AM
Do you use PowerShell Remoting integration to run that PS request? im talking about that https://xsoar.pan.dev/docs/reference/integrations/power-shell-remoting
also I would give a try Active Directory Query v2 integration (Active Directory Query v2) and command ad-search, for attributes I think we need "distinguishedName,displayName", for base-dn should be like "CN=Policies,CN=System,DC=EXAMPLEDOMAIN,DC=LOCAL" and search "(objectClass=groupPolicyContainer)"
04-23-2024 08:02 AM
Hi @vmikhailov ,
I've tried with ADQ v2, but that didn't work :S
I'll try with PowerShell remoting... I don't know if it works because we have firewalls filtering... but I'll try.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!