Showing archive results for 2010

Feb 7, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Weekend Scripter: Conversion Module, Part 2

ScriptingGuy1

 Microsoft Scripting Guy Ed Wilson here. One of the cool things about writing scripts on the weekend, is the lack of distraction. Because there are few things to compete for one’s attention, there is more time to polish and more time to clean up the code. For example, consider the ConversionModule.psm1 module I worked on yesterday. After...

Scripting Guy!Windows PowerShellscripting techniques
Feb 6, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Weekend Scripter: Conversion Module, Part 1

ScriptingGuy1

 Microsoft Scripting Guy Ed Wilson here. Well, this is truly a historic day for a number of reasons. The first reason is that this is the first Saturday column in Scripting Guy history! The second historic occasion is that we finally got snow in Charlotte, North Carolina. This second reason is not really historical—we get snow in Charlot...

Scripting Guy!Windows PowerShellscripting techniques
Feb 2, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Query Active Directory for Users Whose Passwords Don't Expire?

ScriptingGuy1

   Hey, Scripting Guy! I am interested in using Windows PowerShell to query Active Directory. We have deployed Windows Server 2008 R2 on our domain, and upgraded one of our domain controllers. I would like to be able to query for a list of all users whose passwords do not expire. When I did a Bing search, I was able to find an old Hey, Sc...

Scripting Guy!Windows PowerShellActive Directory
Feb 1, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Search Active Directory?

ScriptingGuy1

   Hey, Scripting Guy! I often need to search Active Directory Domain Services (AD DS) to find information about various computers. I may need to identify all of the computers in a particular organizational unit or all the computers who happen to reside in a particular office. Whatever the reason, using Active X Data Objects (ADO) like I ...

Scripting Guy!Windows PowerShellActive Directory
Jan 28, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create Managed Service Accounts?

ScriptingGuy1

   Hey, Scripting Guy! The pointy-headed boss is on a rampage. The problem is he has no idea why he is rampaging. This guy makes Nick Bottom seem like Aristotle. His latest obsession concerns service accounts. He wants me to create user accounts, with names like SQL_Service_Account, make these accounts Domain Administrators, and set their...

Scripting Guy!Windows PowerShellActive Directory