40. How to get the local Administrators of one or many computers remotely with PowerShell.

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 16

  • @maninder1984
    @maninder1984 2 ปีที่แล้ว

    You are a savior bud! Thank you

  • @akassebaum
    @akassebaum 5 ปีที่แล้ว +2

    Welcome back, been a while!

    • @CyberAutomate
      @CyberAutomate  5 ปีที่แล้ว

      Thanks, I’m hoping to do this a bit more often than yearly going forward. 😁

    • @akassebaum
      @akassebaum 5 ปีที่แล้ว

      @@CyberAutomate was thinking you might have gotten deployed or went to some leadership/MOS school.

    • @CyberAutomate
      @CyberAutomate  5 ปีที่แล้ว +1

      I don’t do those fun things anymore, I’m living that retired life.

  • @randallflat2010
    @randallflat2010 ปีที่แล้ว

    How would this be done across a domain? Replace -computers with domain or?

  • @eng.heshamahmed8267
    @eng.heshamahmed8267 5 ปีที่แล้ว +1

    please i need the file computer.txt or how to get many computers and add its in this file?????

    • @CyberAutomate
      @CyberAutomate  5 ปีที่แล้ว +2

      eng.Hesham Ahmed it’s a simple .txt file with 1 computername on each line of the file like below.
      PC1
      PC2
      PC3
      PC4

    • @RaghavendarNagabandi
      @RaghavendarNagabandi 2 ปีที่แล้ว

      @@CyberAutomate Hi, Its throwing an error for me when i choose computer name in above format, if i enter only 1 server coming fine, can you please help
      Error below:
      The RPC server is unavilable(Exception from HResult..........)

  • @scatheli
    @scatheli 2 ปีที่แล้ว

    Hi CyberAutomate.... Just few words to thank you. It helps....
    Just one more question.... instead of verbose live comment (for non responding computer) how can you add into the cvs export : $computer unreachable line...?
    Many thanks for your precious support

  • @safwankhallouf3716
    @safwankhallouf3716 4 ปีที่แล้ว

    how to create a user and make him member of administrators group on remote computer,

  • @sevens122
    @sevens122 5 ปีที่แล้ว

    Can we use IP instead of computer names ? thanks in advance !

  • @dfhayak
    @dfhayak 5 ปีที่แล้ว

    Is it possible to get your Admin user name and password for a box either on or off a domain that you can not get into?

    • @CyberAutomate
      @CyberAutomate  5 ปีที่แล้ว

      For the password you would need something like mimikatz, windows credential editor or something similar. In my world, if I can't get into a machine on my network it is considered compromised. It needs to be rebuilt.

  • @safwankhallouf3716
    @safwankhallouf3716 4 ปีที่แล้ว

    nice script with nice description