It can happen that after you reboot Windows Server 2012 it will change the network type to “Public” instead of “Domain”. This is how you solve the problem.

It can happen that after you reboot Windows Server 2012 it will change the network type to “Public” instead of “Domain”. This is how you solve the problem.
Sometimes you need to have a list of all computer accounts in your or your customers Active Directory. And there is no good way to export that data from the GUI. To make this easy I have created a PowerShell script that exports all the computer accounts from an OU of your choice or from the whole domain. Read more after the break.