Skip to content
Snippets Groups Projects
Commit cfae63fd authored by Martin Čuchran's avatar Martin Čuchran
Browse files

Update AddOStoDomUPS.ps1

parent ffa2f6da
No related branches found
No related tags found
No related merge requests found
#ps1_sysnative
Start-Transcript -Path "C:\windows\temp\$(get-date -format "yyyy-MM-dd_hh-mm-ss").txt";
$user = [ADSI]'WinNT://./Administrator';
$user.SetPassword('K0ckoP3s');
NET USER PB007 K0ckoP3s /add;
NET LOCALGROUP Administrators PB007 /add;
NET USER admin /delete;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment