October 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

I needed to create a Local User account during the build process for a number of new lapotops. Below is the PowerShell command I used with a Task Sequence ‘Run command’ step in System Center Configuration Manager.

powershell.exe New-LocalUser -AccountNeverExpires:$true -Password ( ConvertTo-SecureString -AsPlainText -Force 'username') -Name 'password'