We are going to create an image for 2000 computer and all of them will be joined to a domain trought a vpn connection.
I need to add the vpn connection, connect to it, generate a random name for the computer and then join it to a domain trought vpn.
The part where im stuck is how to generate a random name for the computer for the -NewName
option. I searched for a while now but my time is short for this task and I cant afford to waste any more time with research.