Get members of multiple Security Groups using PowerShell

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • I will show you how you can get members of multiple security groups and export them to a CSV file using PowerShell.

Комментарии • 23

  • @hs0964
    @hs0964 2 дня назад

    want to thank you for your videos, really helped me for resolving issue export members of nested dLs
    keep uploading

  • @lancehudson5356
    @lancehudson5356 Год назад +1

    Thank you dude, awesome straight forward video made my life so much easier!

  • @tiffanynanette4725
    @tiffanynanette4725 2 года назад +1

    THANKS A LOT, you saved various minutes of work

  • @randalsullivan4453
    @randalsullivan4453 9 месяцев назад

    Thank you for the educational and interesting video!
    🙂🙂

  • @klins007
    @klins007 3 года назад +1

    Its just awesome 🤩.... Clean and crystal clear explanation with simple codes...Thank you so much and please keep going
    Maybe in each video you could put the code below it would be more helpful

  • @sahebgoudas
    @sahebgoudas Год назад +1

    Osm 🎉🎉🎉Thanks a lot ..

  • @vinodboddu1991
    @vinodboddu1991 3 года назад +1

    Pls make a video on usecase in powershell for Citrix

  • @jacobbarrows4296
    @jacobbarrows4296 Год назад

    Hey dran, when I run the Get-ADGroup command and it asks me to specify the nane of the group it will list members. But when i run the script to pukl multiple groups from the .txt file it says none of the groups can be found in the specofied DC even thougb it works individually

  • @mridulwalia9638
    @mridulwalia9638 Год назад

    Bro need your quick help .... if I want to find users from a text file in the groups from text file and get the members

    • @drantrix3950
      @drantrix3950  Год назад

      Hi bro, did you mean that you have a text file which contains the list of security groups and you need to get the members of those each security groups?

  • @MrMegaSuryarao
    @MrMegaSuryarao 3 года назад

    can you please help in extracting security groups from 6 different domains/servers in a single query?

    • @drantrix3950
      @drantrix3950  Год назад

      I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks

  • @sureshiam8350
    @sureshiam8350 2 года назад

    Super !
    Btw, how do we search multiple OU’s ?

    • @drantrix3950
      @drantrix3950  Год назад

      I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks

  • @Consytec_Infraestructura_IT
    @Consytec_Infraestructura_IT Год назад

    Hey Dran, I need to get the local Administrators of many computers remotely that are inside some OUs from the Global Domain. Have you any tool or simple script to achieve this? Thanks in advance!

    • @drantrix3950
      @drantrix3950  Год назад +1

      $Servers = get-content c:\temp\computers.txt
      $output = Invoke-command -computername $servers -scriptblock {Get-localgroupmember -group 'adminstrators'}
      $output | export-csv c:\temp\admins.csv -notypeinformation
      Hi Ale, This script will get the local admins from all the computers you mentioned in the servers.txt file and export them to a CSV file

    • @Consytec_Infraestructura_IT
      @Consytec_Infraestructura_IT Год назад

      @@drantrix3950 Hello, thank you very much for your answer and I have one more question. If the servers that I need are inside sub-OUs, will this script reach them or does it only work with the OU of servers or a direct primary OU?

    • @drantrix3950
      @drantrix3950  Год назад

      Hello! Sorry I got busy, pls let me know if you still help on this, thank you!

  • @DS-ol6nc
    @DS-ol6nc 2 года назад

    I want to know owners of the group, I have 200 group. How to take it, please help

    • @drantrix3950
      @drantrix3950  Год назад

      I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks

  • @soniq080808
    @soniq080808 26 дней назад

    Need some urgent help please - how do you filter disabled users in those groups?