Scripting Blog [archived]

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

Create a PowerShell Scheduled Job

Summary: Learn how to create a Windows PowerShell scheduled job. Microsoft Scripting Guy, Ed Wilson, is here. Well, the Scripting Wife and I are about to straighten up the scripting house after the Windows PowerShell Saturday luau we had on Friday and the scripting slumber party we had over the weekend. Frankly, it is an awful lot of work to ...

PowerTip: Examine Automatic Variables

Summary: Learn how to identify automatic variables. (image)  How many types of automatic variables exist by default? And how would you discover such a thing? (image)  There are five types of automatic variables that exist by default. To discover them, use the variable provider and the Get-Member cmdlet: PS C:\> dir ...

PowerShell and User Access Logging

Summary: Learn about using Windows PowerShell to manage the new User Access Logging feature in Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. Today we have as our guest blogger, Brent Forman. Here is a little bit about Brent. (image) Brent Forman is senior program manager in the Windows Server division at Microsoft. Brent ...

Weekend Scripter: Get Detailed PowerShell Command Lifecycle Information

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using a preference variable to provide detailed Windows PowerShell command lifecycle information. Microsoft Scripting Guy, Ed Wilson, is here. This has certainly been an interesting Windows PowerShell week. Yes indeed, it has been a fine Windows PowerShell week. The week began with a ...