Coming Soon: GET:IT Endpoint Management 1-Day Conference on September 28th at 9:30 AM ET Coming Soon: GET:IT Endpoint Management 1-Day Conference on September 28th at 9:30 AM ET

The memberOf attribute returns DN names, I want simple group names

Home Forums Scripting PowerShell The memberOf attribute returns DN names, I want simple group names

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • joeyg2391
    Member
    #160821

    Hi guys was wondering if there a simple way to format my result of a command i ran. see below
    GET-ADUSER -Identity NAME -Properties MemberOf | Select-Object MemberOf

    the result i get is the full DN of the groups but what i want is the results just to show the simple name and not the full DN. Can you assist and recommend a good starter book for learning powershell?

    Thanks


    belmondo
    Participant
    #655355

    test

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Live Webinar: Active Directory Security: What Needs Immediate Priority!Live on Tuesday, October 12th at 1 PM ET

Attacks on Active Directory are at an all-time high. Companies that are not taking heed are being punished, both monetarily and with loss of production.

In this webinar, you will learn:

  • How to prioritize vulnerability management
  • What attackers are leveraging to breach organizations
  • Where Active Directory security needs immediate attention
  • Overall strategy to secure your environment and keep it secured

Sponsored by: