loop until a certain time (in powershell)
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.
Posted on September 30, 2012 at 14:35 by admin · Permalink
· 11 Comments
In: Power Shell · Tagged with: loop, PowerShell
In: Power Shell · Tagged with: loop, PowerShell
Powershell NSLOOKUP
The following PowerShell one liners give you hostname to IP or vice versa.
Posted on August 18, 2012 at 11:17 by simon · Permalink
· Leave a comment
In: Power Shell · Tagged with: dns, hostname, ip address, nslookup, PowerShell
In: Power Shell · Tagged with: dns, hostname, ip address, nslookup, PowerShell
Copy members of one AD group to another group
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:
Posted on August 3, 2012 at 11:19 by simon · Permalink
· Leave a comment
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
Exchange 2010 PowerShell Tips & Snippets
This is a page of various Exchange 2010 Powershell one liners that I use fairly often or want quick access to.
Posted on July 16, 2012 at 20:11 by simon · Permalink
· Leave a comment
In: Exchange 2010 · Tagged with: command line, DAG, database, Exchange, Exchange 2010, failover, PowerShell, tips
In: Exchange 2010 · Tagged with: command line, DAG, database, Exchange, Exchange 2010, failover, PowerShell, tips