Run active directory script remotely

Hi

I have a simple script that creates a new user in AD. How can I modify this script so I can run this script from a different server (which is on the same network)?

New-ADGroup -Name $item.GroupName path OU=Groups,DC=devaws,DC=qantas,DC=com,DC=au -Description $item.description -GroupCategory Security -GroupScope Global

March 21st, 2015 10:03pm

You do not need to modify it. It will run anywhere where the AD CmdLets are installed.
Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2015 1:03am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics