none
Find the next available computer name PowerShell RRS feed

  • Question

  • Hi All,

    After building a new machine I have to go to AD and check for the last available computer name ie. AWS01, AWS02 etc

    to use to name the computer. 

    Does anyone have a PowerShell script that can 1. Check for the next available computer name within Active Directory 2. Name the computer based on this and then add the computer to the domain?

    • Moved by Bill_Stewart Tuesday, April 14, 2020 4:35 PM This is not "scripts on demand"
    Tuesday, October 29, 2019 1:28 PM

All replies