Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PowerShell to Pick New Coputer Name From Array And Reboot

$
0
0
I am imaging close to 200 new computers and am needing to name the computers then add them to the domain.  The naming convention is pretty basic it would be AAA-123 for #1, BBB-123 for #2, CCC-123 for #3 (don't ask..what I was told to do), so I was curious if I could just find a script that would do this?  I have seen how you can use power shell to rename a computer and add it to the domain, but can you have power shell iterate an array when naming the computers?

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>