Browsing Scripting
Find Missing Subnets in Active Directory
This is a very manual task of logging onto each domain controller and copying the file to a central location, and then sifting through the data to remove any duplicate IP addresses etc.
Find Deferred Messages in Exchange
Here is a quick little one liner to find all the deferred messages with FromAddress, Recipients and DeferReason.
PowerShell Random Password Function
Generating a password with PowerShell is relatively easy if you leverage a particular method of .
Find Active Directory Computers by OS
Finding machines in Active Directory is pretty easy using the Get-ADComputer commandlet.
Find Shutdown Events
Just a quick PowerShell one-liner to display all the shutdown events on a computer.
See who rebooted a server
Let’s say one of the production servers got rebooted unexpectedly and you would like to find out who rebooted it and when the server got rebooted.
Using the Pipeline
PowerShell is a powerful scripting language that comes with Windows operating systems.