Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: Using .NET Framework Enumerations in Windows PowerShell

Summary: Guest bloggers Microsoft PFEs Adam Haynes and Shubert Somer talk about using .NET Framework enumerations with Active Directory. Microsoft Scripting Guy, Ed Wilson, is here. Today is part 3 of a 5-part series by guest blogger Adam Haynes with help along the way from his friend Shubert Somer. You will want to go back to read part 1 and ...

Weekend Scripter: Basics of .NET Framework Language

Summary: Two Microsoft PFEs discuss the basics of .NET Framework language elements as they relate to Windows PowerShell with examples from Active Directory. Microsoft Scripting Guy, Ed Wilson, is here. Today is part 2 of a 5-part series written by guest blogger Adam Haynes with some help from his friend Shubert Somer. You can read about them ...

Use a PowerShell Script to Show Active Directory Backup Status Info

Summary: Microsoft Active Directory PFE Adam Haynes talks about a Windows PowerShell script he wrote to find Active Directory backup status without using repadmin. Ed Wilson is here. Today is the first of five guest blogs written by Microsoft PFE Adam Haynes with some help along the way from his friend Microsoft PFE Shubert Somer. Here is a ...

Use PowerShell to Query AD DS for DHCP Servers

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to query the Active Directory configuration context to return DHCP servers. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows Server 2012 and Windows 8 is the numerous cmdlets and functions available. After installing the...

Create Test Users in a Test Active Directory Environment by Using PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, creates a bunch of test users in a test AD DS environment by using Windows PowerShell.  Hey, Scripting Guy! I have a problem at work. It seems that the people who fill out titles and descriptions for the users in Active Directory do not follow a standard naming convention—heck, they ...