SO you’ve been tasked with trying to find out how many user objects exist i your domain, but the OU structure is so disorganised, you don’t know where to start?
This simple PowerShell script will tweeze out all any user objects no matter where they are hidden, so long as the account context you run it in can see them.
Continue reading PowerShell to find enabled user objects per OU in Active Directory
When you run scripts to find Active Directory user accounts that haven’t been used in a while, one thing the standard approach misses is accounts that have never been used.
Finding Active Directory user accounts that have never been used is a little tricky, in that the lastlogontimestamp is NULL although the attribute type is a large integer. Querying this in PowerShell requires a back-to-front approach as we can’t query if the value is NULL, we have to query if the value is not ‘not-NULL’…. i.e. lastlogontimestamp -like “*”
Continue reading PowerShell to find unused AD user accounts
Need to find what user accounts in Active Directory haven’t been used in a while? This PowerShell script will tell you who hasn’t logged in for the last 90 days:
Continue reading PowerShell to find inactive user accounts in Active Directory
Need to find mailboxes that are leaking data outside the organisation through enabled forwarding? This is the script for you:
Continue reading PowerShell to find Office365 mailboxes with forwards enabled
If you’re like me and need to report on inactive accounts so that they can be disabled, this PowerShell script might help you out:
Continue reading PowerShell to find inactive user accounts in Office 365
If you’ve got a large domain and want to query user ids per OU, then this is the script for you:
Continue reading PowerShell to find enabled user ids per OU:
I have a need from time to time to find actively used computer objects in the domain that are running a particular operating system. Most often it is to find unsupported operating systems like XP, Server 2003 or even OSX 10.8 and below. The script looks a lot like:
Continue reading PowerShell to find active computer objects by Operating System name
With all the new advanced features appearing in the latest vendor hardware, you may be finding issues with your image deployments when it comes to installing device drivers.
Late last year Microsoft released version 1.11 of the Kernel Mode Driver Framework (KMDF) which is the backbone of many newer device drivers today. If you have SOE images built prior to this release you have an earlier KMDF embedded in the image, and if you use driverless images you’ll probably find many devices are not functioning at the end of your imaging process. The fix is to either: Continue reading Windows 7 Kernel Mode Driver Framework (KMDF)
So today the nytimes website went down. The Syrian Electronic Army are being blamed. Can we work out who they are and how they accomplished this?
If you ping www.nytimes.com the IP address comes up as 22.214.171.124. A whois on this IP address shows that it’s in the IP range owned by Shorefront Media, Inc addressed in Moscow (reference – http://whois.domaintools.com/126.96.36.199). Continue reading Does this make any sense?
Some of you might have seen this error after upgrading your DNN from v6 to v7. It’s a bit scarey because it means that no-one can log into your DNN instance, not even a super user. Troubleshooting must therefore begin on the hosting server. Check out the log files under .Portals_defaultLogs. For me the critical error was:
Continue reading Dot Net Nuke – A critical error has occurred. An unexpected error has occurred