IT Managers and system administrators should be aware of exactly what Server Operating Systems are in use across their environment, if you are unsure you can quickly understand/audit what OS's are running within your Active Directory estate by running the following Powershell commands;

On a domain controller, search for and run "Active Directory Module for Windows Powershell"

If you do not have it installed, you can add it using the following command;

Add-WindowsFeature RSAT-AD-PowerShell

To get the filtered list showing the Server Name, Operating System and Operating System Version run the following command;

Get-ADComputer -Filter 'operatingsystem -like "*Windows server*" -and enabled -eq "true"' -Properties  Name, Operatingsystem, OperatingSystemVersion | Sort-Object -Property Operatingsystem | Select-Object -Property Name, Operatingsystem, OperatingSystemVersion | ft -Wrap -Auto

If you then want to output this to a CSV file use the following command;

Get-ADComputer -Filter 'operatingsystem -like "*Windows server*" -and enabled -eq "true"' -Properties  Name, Operatingsystem, OperatingSystemVersion | Sort-Object -Property Operatingsystem | Select-Object -Property Name, Operatingsystem, OperatingSystemVersion | ft -Wrap -Auto >> C:\Temp\ServerList.csv

If this list returns Server 2008 R2 or older, these need to be addressed as soon as possibly as they are End of Life products and are a risk to your environment.