Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: Automate Formatting Portable USB Drives with PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to automate formatting and copying data to USB drives. Microsoft Scripting Guy, Ed Wilson, is here. Today we leave the mystery writers conference in Nashville, Tennessee and head to northern Kentucky. I will be teaching a Windows PowerShell workshop to a group of ...

PowerTip: Use PowerShell to Create Color Output from Commands

Summary: Learn to use the Write-Host PowerShell cmdlet to create color output from commands.  Someone told me the Write-Host cmdlet could create color output. Can you give me some samples of acceptable syntax? a. Write-Host -ForegroundColor 12 "hi" b. Write-Host -ForegroundColor 12 "hi" -BackgroundColor white c. Write...

Weekend Scripter: Use PowerShell and BITS to Simplify Downloading Large Files

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell BITS module to download large files. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about my job—OK, so there are many cool things about my job—but one of the things that I just geek out on, is access to the daily builds of ...

Feedback usabilla icon