Greetings Community,
Hopefully this will be an easy question for you guys.
When creating a new computer account in powershell and specifying the -SamAccountName parameter, is there a way to make the entry it creates uppercase? As it currently stands when I create accounts, the sam account name is lowercase and I need for them to be uppercase.
Here's a copy of my code so far.
New-ADcomputer-Name"$newadcomputername"-samAccountName"$newadcomputername"-DNSHostName"$newadcomputername.computername.com"-Path"OU=RHEL6_64,OU=UNIX,DC=somecompany.com"-Enable$true
Thanks in advance for any assistance provided.
Mike B.
Mike B.