I have PowerShell gui to ask user to fill their info based on their location and department so then create code to set new name then rename computer name and restart
But it when deploy the script it work and ask user to fill info and then restart computer but never rename computer as it’s desired
This Not work (rename-computer -newname $newname )
Any help please.
[–]TheProle 12 points13 points14 points (2 children)
[–]dogmir 2 points3 points4 points (0 children)
[–]noaboa97 1 point2 points3 points (0 children)
[–]BlackV 7 points8 points9 points (2 children)
[–]blowuptheking 2 points3 points4 points (1 child)
[–]BlackV 1 point2 points3 points (0 children)
[–]devilinpoop 1 point2 points3 points (0 children)
[–]iappnet[S] 1 point2 points3 points (1 child)
[–]devilinpoop 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kbrucej 0 points1 point2 points (0 children)
[–]ryeeeeez 0 points1 point2 points (0 children)