how i can add codes like script powershell?

Oct 9 2016 7:30 PM
How I can add this codes like script
 
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts"
 

Brought to you by: