Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. $Group = [ADSI]"WinNT://MyComputer/MyGroup,group"
  2. $Computer = [ADSI]"WinNT://MyDomain/OtherComputer$"
  3. $Group.Add($Computer.Path)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement