Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update Hostname resource to use PowerShell Rename-Computer Cmdlet #9451
Describe the Enhancement:
Use Rename-Computer to rename computers now that we can assume PowerShell 3.0+ where this was introduced.
Describe the Need:
We're doing it via WMI. This Cmdlet without a doubt has additional error handling that we should utilize. Eventually we can also use it to rename a cmputer on a domain given domain creds. That would take additional work, but would be a nice win eventually.