Jump to content


0
[Tutorial]

List Local Users of Remote Systems (Powershell)



No replies to this topic

#1 mashti

mashti

    Microsoft TE

  • Technical Expert
  • PipPipPipPipPipPip
  • 1,552 posts
  • 39194 thanks
  • LocationActive Directory Inside

Posted 18 September 2011 - 05:50 PM

Here's a Powershell script that reads the hostnames off a text file (hosts.ini) and lists all the local users of the remote host:

Posted Image
Whenever death may surprise us, let it be welcome if our battle cry has reached even one receptive ear and another hand reaches out to take up our arms.
I know you are here to kill me. Shoot, coward, you are only going to kill a man.


Che Guevara

Thanked by 7 Members:
nsparth27 , pulisysadmin , sahara74 , Johns3k , moatawi , dec1slh , superospf



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Organization

Community

Downloads

Test Providers

Site Info


Go to top