Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Hostname resource to use PowerShell Rename-Computer Cmdlet #9451

Open
tas50 opened this issue Mar 6, 2020 · 0 comments
Open

Update Hostname resource to use PowerShell Rename-Computer Cmdlet #9451

tas50 opened this issue Mar 6, 2020 · 0 comments

Comments

@tas50
Copy link
Member

@tas50 tas50 commented Mar 6, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.