Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Display a Blinking Message by Using PowerShell

Summary: Use this one-line Windows PowerShell command to display a blinking message.  Is there a one-line command that I could use to blink a message in the Windows PowerShell console to get the users attention?  Pipe a range of numbers to the Foreach-Object cmdlet (% is an alias), clear the screen in the Begin&...

PowerShell Report for a Windows Failover Cluster

Summary: Use Windows PowerShell to create a report for a Windows failover cluster. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Rhys Campbell… I’m involved in the administration of several Failover Clusters, and I wanted to be able to easily report on these and get an alert for any changes in status. ...

PowerTip: Show Group Members with PowerShell

Summary: Use Windows PowerShell to get a list of group members in Active Directory.  How can I use Windows PowerShell to regularly show who is in an Active Directory group, for example, Domain Admins?  To show who is in the Domain Admins group in Active Directory, run the following command: Get-ADGroupMember DomainAdmins If you&rsquo...