Three methods, all with their advantages and disadvantages, for reading, writing and creating new users in AD with PowerShell. For the examples, we're interested in two totally different attributes: DisplayName and Fax. We also include authentication to allow management in multi-domain forests.
Feel free to add your tips and/or corrections in the comment section.
PS. Yes indeed: the Powershell lexer is now available on the Tweakers forums and blogs Read more »