PowerShell – Error when you query Active Directory for the OperatingSystem attribute

Last week I posted a PowerShell function to get time server NTP settings from clients. Depending on how you use the script, you may encounter an issue which is not the cause of the script but nevertheless very annoying… Let’s say that you want to query your AD and only get computers with ‘server’ in the name of the operating system. You’ll do something like: [crayon-5d59321315f81581483783/] Now here’s the annoyance. … Continue reading PowerShell – Error when you query Active Directory for the OperatingSystem attribute