Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: Use PowerShell to Delegate Administrator of RODCs

Summary: Microsoft PFE, Ian Farr, discusses using Windows PowerShell to delegate administrator of RODC. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Honorary Scripting Guy and Microsoft PFE, Ian Farr, back for more words of wisdom... Welcome to the third post in a four part series about securing and managing read-only domain ...

Use PowerShell to Get BIOS Information on Remote Servers

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to retrieve BIOS information from remote servers.  Hey, Scripting Guy! I really hope you can help me. I need to get a list of basic BIOS information from our servers. All of the servers that I need are listed in a single organizational unit (OU) in Active ...

PowerTip: Use PowerShell to Get List of FSMO Role Holders

Summary: Use Windows PowerShell to get a list of FSMO role holders in Active Directory.  I use NETDOM QUERY FSMO to list my domain controllers that hold the FSMO roles, but can I do it with Windows PowerShell?  As usual, there is more than one way to do most things in Windows PowerShell, but here are some syntax examples to meet your...

Active Directory Week: Essential Steps for PowerShell when Upgrading

Summary: Learn three essential steps for Windows PowerShell when upgrading from Windows Server 2003. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the final post in the series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from the series: Get Started with Active ...

PowerTip: Use PowerShell to Work with Active Directory Date Fields

Summary: Use Windows PowerShell to work with Active Directory date fields.  How can I Use Windows PowerShell to work with date fields in Active Directory?  Try the following techniques: # Password last set within the last 30 days? $pwdLastSet = Get-ADUser Administrator -Properties pwdLastSet |      Select-...