Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Rename-Computer -NewName $compname
- Rename-LocalUser -Name Mitarbeiter -NewName $username
- wmic computersystem where caption='$(Hostname)' call rename $compname
- wmic useraccount where name='Mitarbeiter' rename $username
Add Comment
Please, Sign In to add comment