Hacker News new | ask | show | jobs
by hartez 5082 days ago
just try managing AD users in PowerShell - sure its easy once you've written your own custom script or mapped it to a web interface or something, but there's no built in equivalent for adduser or about a billion other basic UNIX commands

It's not that bad. Adding a new AD user is a built-in command. From the docs:

New-ADUser GlenJohn -OtherAttributes @{title="director";mail="glenjohn@fabrikam.com"}

I'm not a UNIX admin; maybe the adduser command is easier. But managing AD stuff in PS is pretty easy (especially if you have to do it in bulk).

1 comments

me@my_server$ useradd -G director glenjohn

glenjohn@my_server$ vi .forward

:a

glenjohn@fabrikam.com

:wq

And there are at least a few other ways to do that. But you certainly don't have to be an admin to specify an alternate email address.