Scripting Blog [archived]

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

PowerTip: Keep Output from Scrolling Off the PowerShell Console

Summary: Learn how to keep content from scrolling off the Windows PowerShell console. (image)  How can I keep content from scrolling off the Windows PowerShell console and, instead, display content a page at a time? (image)  Pipe the results to the More function to display content in the Windows PowerShell console one ...

Use PowerShell and a Web Service to Find Holidays

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to find the date for a specific holiday by using a web service. (image)  Hey, Scripting Guy!  I have a problem. I guess you hear that a lot. Anyway, my boss has given me what I think is an impossible task—to find the holidays we have coming up this...

Weekend Scripter: Use PowerShell for ADM Cleanup—The Exciting Conclusion

Summary: Two Microsoft PFEs conclude their three-part series on cleaning up old ADM files from AD DS. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have the conclusion of a three-part series written by PFEs Mark Morowczynski and Tom Moser. Be sure to read the blog for Friday and Saturday first if you have not already done so. ...

PowerTip: Find the Start Mode and Startup Account for Services

Summary: Use Windows PowerShell to find the start mode and startup account used by services. (image)  How can I use Windows PowerShell to find the startup account and the start mode of services on my system? (image)  You need to use WMI and query the Win32_Service class. With Windows PowerShell 3.0, use the Get-CimInstance&...