We recently upgraded to Windows 2008R2 Native Mode. As a result we now have a lot of PowerShell functionality in AD without using the Quest cmdlets. They were great while we needed them but I like having the native functionality.
I blogged about how to do this from the command line using dsquery and dsrm here. [...]
This is turning into my PowerShell notebook but I’m finding some good applications and don’t want to forget or lose, so here’s another one.
It searches AD in the domain and OU specified for users that do not have NULL values for the homeDirectory and sorts by when they were changed last. Seems to work unless [...]
We had something happen at work and all the user home directory permissions were totally reconfigured. This meant that every user was able to read ever other user’s home directories. Not a good thing!
Over time and various fileserver migrations these permissions have been mangled and I have wanted to write a script to reset all [...]
 Â
Â
I am trying to find all the inactive computer accounts in the domain. I am making a point of using PowerShell to accomplish this so I can reuse the code and I figure that I will need to learn some pretty nifty skills to accomplish this.
I am currently running this:
get-qadcomputer -sizelimit 0 [...]
Recent Comments