Archive for PowerShell Scripting
A funny thing happened on my way to the remote registry…
I became an evil hacker who was preying on I.T. managers!!! At least that’s what the initial reaction was. I was caught off guard, the big boss called me in his office and had asked why I had accessed his PC along with other (high level) managers? The CEO also wanted to know what business [...]
How to find a needle in the Array stack
I finally had a reason to use Ying Li’s script that compares two arrays and I must tell you it worked beautifully… What a time saver!!! The big boss comes to me (as I’ve become his go-to-guy when he needs something done quick) and asks if I could create an email distribution list which contains [...]
How do I know if I’m missing MS Patches?
During the Conficker storm I had released a script that would check for the installation of Hot Fix KB958644, which was to assists is thwarting off the worm. Many of you sent in messages asking if there is a way, with PowerShell, to detect which MS Patches are NOT installed on a machine. The answer [...]
Why I no longer hate writing documentation…
…it’s because I no longer have to! And you too will no longer document your computers and servers either. Why? Because PowerShell is going to do it for you and I’m going to share with you how I did it. Yes, it is going to be presented well, in Excel, and the Boss is going [...]
Conficker Worm Detection
McAfee has posted a Confiker Detection tool that scans IP ranges for infected machines. You can download the tool here. The two ways to protect your systems are to make sure that you have the Microsoft Hot Fix KB958644 from Microsoft Security Bulletin MS08-067 installed on your systems and to update your virus definitions. I [...]
Enumerate The Remote Event Log with .NET
One of my favorite things to do as an administrator is to open Domain Controller Security Event Logs and manually thumb through them looking for evil doers… NOT! Opening, filtering, and sorting entries is as exciting as watching paint dry, well actually paint dries quicker… PowerShell introduced a cool cmdlet called Get-EventLog… Hold on I [...]
PowerShell Big Hit at VMworld 2008
I had perviously provided a download link for the VMware VI Toolkit within the "PowerShell Downloads" section on this site. To be quite honest the download statistics have been minimal at best. My thoughts were that since this site caters to those whom are learning PowerShell, the readers of this site may not yet have been exposed to virtulization technologies. [...]
How to Send Alerts to Your Mailbox using .NET
I received a request from a colleague asking if I had a script that would poll a file and send him an email if a file's size became larger than 2k. Apparently they are using an application that was written by a friend-of-a-friend who is no longer in the Software Business so there is no [...]
Want a Free PowerShell Editor? No, Really it’s Free…
I’ve been searching for a PowerShell editor to free me from writing my code in notepad. I’ve tried a number of them on the market, Primal Script by far was the best! Yet, my 45-day trial was over and my boss is dragging his feet with a purchase. So where do I turn? Shell Tools [...]