Guest User

Untitled

a guest
Jun 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Rename-Computer -NewName $compname
  2. Rename-LocalUser -Name Mitarbeiter -NewName $username
  3.  
  4. wmic computersystem where caption='$(Hostname)' call rename $compname
  5. wmic useraccount where name='Mitarbeiter' rename $username
Add Comment
Please, Sign In to add comment