Archive for January, 2008

How to retrieve a list of Computer Accounts from Active Directory

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

3 easy steps to get information from remote computers

PowerShell Scripting with WMI Part 1.

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 [...]

Why would I want to call a function that exists in a separate script?

DR. Tom Moreau posed the following question, “Is there a way to call a function that resides in a separate script, along the lines of Perl’s use statement? I don’t want to have to load each function script manually into the current PS session.”
I said sure, take a look at my article on organizing script [...]