Hello I need to add a user name for DefaultUserName located in "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon". I have 7 different usernames Instead typing there name on all the computers regit keys is there any powershell comand that can run for to auto add it to the regit.
There is not default cmdlets for this specific use case. You have to code this up yourself, using the available registry cmdlets in PowerShell. See the MS docs on them.
Powered by IDERA