Which Domain Controller authenticated the logon request?
When investigating problems in your Windows network you might sometimes want to know which Domain Controller authenticated a logon request for the machine you are troubleshooting. Look no further!
Additional user account information in Active Directory
This is not just nice, this is needed for the support person and/or system administrator. See bad password count, when the password was last changed and when it will expire and other useful stuff with this handy "add-on" to the user account properties. You can use ADSI Edit of course, but far from all are used to it (or even know it exists).
List accounts with non-expiring passwords
As administrator of Active Directory you probably want control over all accounts with passwords that never expire.
These should be service accounts and they should be restricted and stripped of all the privileges they do not need to fulfill the task assigned to them.
List all locked out accounts
Accounts can be locked out for many different reasons. The user might have forgotten the password, the password might have been changed but services on other machines are still using the old password and so forth. Another reason, and the reason you should fear the most, is that someone is trying to break in. Hence we want to keep an eye out if there is any accounts that keep getting locked out.
A presentation about the BSD history and future by Jason Dixon
Is BSD really dying?
Reboot a windows machine remotely
# Name: reboot.ps1
# Function: Enter a computername to reboot it, and monitor the process
# Language: Windows PowerShell
# Author: Jimmy Johansson
# Creation: 2008-11-16
# Example: "./reboot.ps1 webserver1" will reboot the machine webserver1
# It must be a windows machine and you must have the required permissions to reboot it
Save the script in a text document and save it with the ps1 extension and then call it from a PowerShell prompt.
Head Tracking for Desktop VR Displays using the WiiRemote
Future games will be awesome!
List locked out accounts in Active Directory
# Name: lockedout.ps1
# Function: Enter a domain and get a list of all locked out accounts
# Language: Windows PowerShell
# Author: Jimmy Johansson
# Creation: 2008-07-30
# Example: "./lockedout www" will give you all locked out users in the domain
# If you only have one domain, it is easier to run this script without $args[0] and make it completely static
Save the script in a text document and save it with the ps1 extension and then call it from a PowerShell prompt.
Command Line Kung Fu
Here is a bunch of commands that are good to bear in mind when you troubleshoot a Windows system. By knowing these you can find out a lot of information without depending on 3rd party applications.
Tone to frequency converter
# Name: tone2hz.ps1
# Function: Enter a tone with an octave and it will give you the frequency back
# Language: Windows PowerShell
# Author: Jimmy Johansson
# Creation: 2008-07-30
# Example: "./tone2hz A# 5" will give you the frequency for A sharp in the fifth octave.
# If no octave is given, the fourth is assumed, octaves are valid from 2 to 7.
Save the script in a text document and save it with the ps1 extension and then call it from a PowerShell prompt.