Updated Domain Password Script

This month’s Mr. Roboto column offers a script you can use with PowerShell to build a domain password report. There were few issues that came up which have since been resolved. You can download the latest version, currently 1.2 at www.jdhitsolutions.com/scripts in the Mr. Roboto section.

Waynes World of Tips

I’ve blogged in the past about Wayne Martin and his outstanding list of command line tips. These are one line commands, some complex some simple, that you can use to accomplish a wide range of task. The overall number of tips is to 425 and Wayne recently reorganized them into 7 categories to make it easier for people to digest. There’s very little scripting with any of these commands. Most use native or freely available command line tools. But because they are executed from a command line you could incorporate them into a script. I encourage you to check them out.

The single list:

http://waynes-world-it.blogspot.com/2008/09/useful-command-lines.html

The same commands split into categories:

http://waynes-world-it.blogspot.com/2008/09/useful-active-directory-command-line.html

http://waynes-world-it.blogspot.com/2008/09/useful-dns-dhcp-and-wins-command-line.html

http://waynes-world-it.blogspot.com/2008/09/useful-general-command-line-operations.html

http://waynes-world-it.blogspot.com/2008/09/useful-vmware-esx-and-vc-command-line.html

http://waynes-world-it.blogspot.com/2008/09/useful-windows-mscs-cluster-command.html

http://waynes-world-it.blogspot.com/2008/09/useful-windows-printer-command-line.html

http://waynes-world-it.blogspot.com/2008/09/useful-ntfs-and-security-command-line.html

Order Managing Active Directory with Windows PowerShell: TFM – Finally!

Yes, its finally true. You can finally get your hands on Managing Active Directory with Windows PowerShell: TFM. The book is being printed so you can get your copy today. You can order it today at ScriptingOutpost.com in both print and ebook format. Or if you prefer the best of both worlds get both as a bundle.

Table of Contents

  1. PowerShell Crash Course
  2. PowerShell Extras
  3. Managing Local Computer Accounts
  4. Managing Local Groups
  5. Managing Active Directory with PowerShell Fundamentals
  6. Managing Active Directory Users
  7. Active Directory Password Management
  8. Managing Active Directory Contacts
  9. Managing Active Directory Groups
  10. Managing Active Directory Computer Accounts
  11. Managing Organizational Units and Containers
  12. Managing Group Policy
  13. Active Directory Security and Permissions
  14. Managing Active Directory with WMI and PowerShell
  15. Using the Active Directory PSDrive Provider
  16. Managing Active Directory Infrastructure
  17. (Appendix A) Managing Active Directory with PowerGUI

You can also download a sample chapter. This title is also available at Amazon.com.

You don’t have to wait for Microsoft before you can begin managing Active Directory with PowerShell. You can start today.

My Published Works

I’m trying out a new Live Write plugin for Amazon. Here is a list of books I have currently authored or co-authored. This list will continue to grow as I’m working on a new book now about managing Active Directory with PowerShell.

WSH and VBScript Core: TFM
by Jeffery Hicks

Read more about this book…

Windows PowerShell v1.0: TFM, 2nd Edition
by Don Jones, Jeffery Hicks

Read more about this book…

Advanced VBScript for Microsoft Windows Administrators (Pro Other)
by Don Jones, Jeffery Hicks

Read more about this book…

I hope you’ll check them out.

Technorati Tags: , , , ADSI,

Share this post :

Updated Group Reporter

A few of my recent Mr. Roboto columns have been about group auditing. I first published an HTA that would report on group membership last December. Astute reader Matt V. found a bug with the way nested group memberships were being reported. Or in this case, not being reported. It turns out that if a group was a member of one other group, that membership was not reported. But if the group was nested in 2 or more groups then you’d see all the nested groups. After a little debugging I found my goof. I used ADSI to get a reference to the specified group:

strDN would have a value like CN=Sales,OU=Groups,DC=Mycompany,DC=local. My mistake was in assuming that the MemberOf property would always be a collection so I was using a ForEach construct. But it is only a collection if there is more than one group. So I modified the code:

Because I used the same code in a followup article where I released a command line version of the tool, I had to modify that tool as well. The above code snippet is actually from the WSF version.

Anyway, both versions have now been updated and are available for download from the Mr. Roboto section of my script library. Thank you Matt for keeping me on my toes.

Technorati Tags: , ADSI, , ,