Rename local accounts

Hi Guys

Is there a way to rename the local amdinistrator and guest accounts using PSDT?

powershell 5.1 in Windows 10 has a cmdlet to do just that:

Rename-LocalUser -Name "Admin02" -NewName "AdminContoso02"

And yes, you can put a line like this in the PSADT script

Thank you sir!!! Wasnt sure about using PS commands

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.