Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

For the love of Pi

Summary: In honor of Pi Day today, we have a guest blog post written by PowerShell MVP, Doug Finke. It's that time of year again when lovers of math, geometry, Albert Einstein, food, and Windows PowerShell can stop and reflect on that transcendental irrational number, Pi. It's the ratio of a circle's circumference to its diameter or "Hey, ...

PowerTip: Use PowerShell to configure BranchCache to run in local mode

Summary: Learn how to use Windows PowerShell to configure BranchCache to run in local caching mode. (image)  How can I use Windows PowerShell to configure BranchCache to run in local caching mode? (image)  Open Windows PowerShell in an elevated prompt, and use the Enable-BCLocal cmdlet. Here is an example: Enable-BCLocal (image...

PowerTip: Configure a client to listen for content requests by using PowerShell when powered on battery

Summary: Learn how to configure a client to listen for content discovery requests even when running on battery with Windows PowerShell. (image)  How can I use Windows PowerShell to configure a client to listen for content discovery requests even when my computer's running on battery? (image)  Open Windows PowerShell with elevated ...

PowerTip: Use PowerShell to dismount a disk image

Summary:  Learn how to use Windows PowerShell to dismount a virtual disk or ISO. (image)  How can I use Windows PowerShell to dismount a virtual disk? (image)  Use the Dismount-DiskImage cmdlet. It will dismount either an ISO or a virtual hard disk. Specify the path then using -imagepath. Here is an example: Dismount-DiskImage -imagepath...