A quick and dirty script to change the local username, hostname, and DNS name (domain) of the host. Designed for malware sandboxes :)
C:> hostname-changer.ps1
CurrentLocalUserName: User
NewLocalUserName: NewUser
NewHostname: workstation
NewDomainName: malware.lab