PowerShell Inventory Operating Systems in Active Directory
PowerShell Inventory KB ID 0001838 Problem I needed to get a list of operating systems ‘in-use’ in my active directory this week. bear in mind this will pull information from all enables computer accounts in AD, so if you are ‘not good’ at tidying out old machines and servers you might get a lot of garbage in your output! Solution: PowerShell Inventory Use the following PowerShell. Get-ADComputer -Filter...