@scottalanmiller said in Renaming a Windows Computer from the Command Line:
@IRJ said in Renaming a Windows Computer from the Command Line:
@scottalanmiller said in Renaming a Windows Computer from the Command Line:
@IRJ said in Renaming a Windows Computer from the Command Line:
I learned something new today. I have been using the shutdown command for years. I never realized you could rename a PC with it.
shutdown doesn't do the renaming, you just have to reboot after you rename.
I use "m" instead of c for computer name
/c is the comment for the logs to tell them that you just "Renamed Machine", it doesn't rename it, it literally puts "Renamed Machine" into the reboot logs.
Ok. Got ya.