August 20th, 2014 by Michael
I used the capabilities of Hyper-V 2012 to create a test environment that mirrors production systems (including a Domain Controller). I couldn’t get the other computers in the environment to use the replica for authentication. After a little more testing, I figured out that I couldn’t open AD DS on the DC. Lots of searching […]
July 29th, 2010 by Michael
If you want to know what logon script users are getting, this is an easy way to get that information: Import-Module -Name ActiveDirectory Get-ADUser -Filter * -SearchBase "OU=YourOUName,DC=YourDomain,DC=COM" -properties ScriptPath | Export-Csv "c:\script\ADUser.csv" Note: In order for this to work, you have to have the ActiveDirectory Module loaded.
February 24th, 2010 by Michael
At some point, I had a desire to list all the computer accounts for any server OS in Active Directory. I am pretty sure that I did a search and found the script below, but I don’t remember where, so whoever wrote it doesn’t get credit this time… $strCategory = “computer” $strOperatingSystem = “Windows*Server*” $objDomain […]