Set up a PowerShell script that runs periodically on your domain controller to check for new servers. Here’s an outline of how you can approach this:
Create a Security Group: Set up a security group in Active Directory that will contain all Windows Server machines (e.g., AllWindowsServers).
PowerShell Script: Write a PowerShell script that will:
Search for new computer accounts with the OperatingSystem property containing "Windows Server."
Check if these accounts are already in the AllWindowsServers security group.
If not, add them to the group.
Send an email notification whenever a new server is added to the group.
Set Up Task Scheduler: Schedule this PowerShell script to run periodically (e.g., daily or hourly).