0

I'm trying to grant full WMI remote access to a domain user, just like this one

It works but I need to automate this process with powershell scripts, any ideas?

I can't find anything relevant on MSDN.

daisy
  • 747
  • 4
  • 13
  • 28

1 Answers1

0

Here's someone who wrote (and documented!) a UserRights.ps1 module that is just what you need. This will grant privileges to groups as well as individual users.

You can add users to a group with vanilla Powershell: add-ADGroupMember

Bob Hyman
  • 51
  • 2
  • 6