Blog

PowerShell WMI Tutorial Part 3 (Report Writing) Launched

March 19th, 2008 • By: Jesse Hamrick Announcements

Announcement March 19th 2008


The last installment of the PowerShell WMI tutorial has been launched and is now available. The PowerShell Tutorial can be found here. Enjoy the new PowerShell Training session.

Coming up next, Managing Active Directory through ADSI. 

A Problem with the Microsoft Script Repository?

March 5th, 2008 • By: Jesse Hamrick PowerShell Scripting

PowerShell WarningI enjoy the Microsoft PowerShell Script Repository and all the examples provided. I have used many of the examples within PowerShell Tutorials and Articles (including this one) written on this site. However, there is a problem with using the “Write-Host” cmdlet that has frustrated myself along with many others; I have the hate-mail to prove it!

So what is the issue that is being discussed here? You will want to read on…

Read the rest of this entry »

Windows PowerShell Programming - For Developers

February 15th, 2008 • By: Jesse Hamrick PowerShell Book Reviews

Windows PowerShell ProgrammingThis is the first book (I know of) written for developers and programmers. I just ordered my copy…
I am confident that this book is well written as I have a number of WROX publications in my library: Beginning Active Server Pages; VBScript:Programmers Reference; Beginning PHP, Apache, MySQL Web development; and Professional LAMP. Not ONE of my WROX books has ever found itself in the trash can…

Word to the wise… This is a programmers book and all the code is written in C#. Prerequisite: Good knowledge of both PowerShell and C# programming language. 

From the Back Cover

Professional Windows PowerShell Programming

Snap-ins, Cmdlets, Hosts, and Providers

Read the rest of this entry »

WMI Explorer : Script-O-Matic for PowerShell

February 8th, 2008 • By: Jesse Hamrick PowerShell Scripting

Over the last couple of weeks I’ve been working on a 3 part tutorial for WMI. In my adventures to see what others have written about on the subject, I found a remarkable tool (actually a .ps1 script) written by Marc van Orsouw aka “ThePowerShellGuy.” This is a tool even Batman should have on his utility belt, it has gotten me out of a couple of jams…

Read the rest of this entry »

How to retrieve a list of Computer Accounts from Active Directory

January 10th, 2008 • By: Jesse Hamrick PowerShell Scripting

I've written a few posts and a couple of tutorials that discuss connecting to remote machines. For example:

In each of these articles an array is used to connect to multiple remote computers. The procedure consists of placing computer names in a text file which is then read by the "Get-Content" cmdlet which creates the array.

I've received comments and emails asking how to query Active Directory for all the computer accounts. Well, here is how we do that…

Read the rest of this entry »