I need to create a new local user account, and then add them to the local Administrators group. Can this be done in PowerShell?
EDIT:
Import-Csv C:\test.csv | Foreach-Object { NET USER $ _.username $ _.password /ADD NET LOCALGROUP "group" $_.username /ADD }
edit csv as username,password and change "group" for your groupname
:) worked on 2012 R2