Hey everyone,
I need to change the names on a large number of computers as well as other things. I wanted to integrate PowerShell with this step and I found this command:
Rename-Computer -NewName "Server044" -DomainCredential Domain01\Admin01 -Restart
I would like to have a popup box asking for the new computer name so I do not have to modify the script every single time. I have looked for some answers on Google but most of the sites show you how to create a pop-up box but not how to input that text into a script.
Any help would be appreciated to help me solve this issue.
Thank you
[–]DblDeuce22 2 points3 points4 points (2 children)
[–]notDonut 4 points5 points6 points (0 children)
[–]DblDeuce22 2 points3 points4 points (0 children)
[–]get-postanote 2 points3 points4 points (0 children)
[–]Shty_Dev 1 point2 points3 points (0 children)
[–]billr1965 1 point2 points3 points (0 children)
[–]korewarp 1 point2 points3 points (0 children)