Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
This works to an extent and populates the text file with servers it is able to locate. For the servers it's unable to locate or obtain the operating system I would like this to be marked with "Not found". At the moment, there is no mention of these servers in the output text file. Essentially something like this;
Get-Content "servers.txt" | Get-ADComputer -Properties Name, OperatingSystem | Select Name, OperatingSystem > ServerOperatingSystems.txt
|Powershell Active Directory Attribute LVR Metadata||3||18|
|LDAP Server cannot be reached at this time from Xerox Workcentres||2||31|
|Office365 Bulk Enable not CSV||9||19|
|Advanced Auditing issue||3||21|