Today I needed to write a bit of code that would enable a script to run for 23 hours and 55 minutes before ending itself. So I dug in to PowerShell and again it came up with a fantastic solution for looping until a certain time.
In: Power Shell · Tagged with: loop, PowerShell
The following PowerShell one liners give you hostname to IP or vice versa.
In: Power Shell · Tagged with: dns, hostname, ip address, nslookup, PowerShell
Today I needed to copy about 300 users from one AD group to another and there was no way I was going to do that manually. So I started looking in to what PowerShell can do adn here is what I found:
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
This is a page of various Exchange 2010 Powershell one liners that I use fairly often or want quick access to.