PowerTip: Use PowerShell to Display Registry Keys

Summary: Learn how to use Windows PowerShell to display registry keys.  How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search?  Use the Get-ItemProperty cmdlet and point it to a specific registry hive. The following command looks for            software…


Use PowerShell DSC to Configure the Registry

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and Desired State Configuration to configure the registry. Microsoft Scripting Guy, Ed Wilson, is here. I thought I would piggy-back a bit on the excellent posts that Windows PowerShell MVP, Richard Siddaway, wrote this week about working with the registry with Windows PowerShell. If…


Weekend Scripter: Use PowerShell to Remotely Create Scheduled Task and Folder

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remotely create a scheduled task and folder. Microsoft Scripting Guy, Ed Wilson, is here. On Friday in Use PowerShell to Create Scheduled Task in New Folder, I created a pretty long Windows PowerShell script that creates a folder for scheduled tasks, and creates,…


PowerTip: Create XML Representation of Scheduled Task

Summary: Learn how to export a scheduled task to XML by using Windows PowerShell.  How can I use Windows PowerShell to create an XML representation of a scheduled task?  Use the Get-ScheduledTask function and pipe the results to the Export-ScheduledTask function,            for example: Get-ScheduledTask applog | Export-ScheduledTask


Weekend Scripter: Use PowerShell to Document Scheduled Tasks

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to document scheduled tasks. Microsoft Scripting Guy, Ed Wilson, is here. One of the really cool things about Windows PowerShell is the way that it builds on itself. When I learn a little bit about Windows PowerShell, I can apply those principles to accomplish…


PowerTip: Use PowerShell to Delete Scheduled Task

Summary: Use Windows PowerShell to delete a scheduled task.  How can I use Windows PowerShell to delete a scheduled task?  Use the Unregister-ScheduledTask function. By default, this command will prompt for confirmation. Therefore,            if you want to use a Windows PowerShell script to remotely delete the scheduled task, you will need to…


Use PowerShell to Create Scheduled Task in New Folder

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a new scheduled task in a specific folder. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to combine several of the scripts I have discussed this week based on scheduled tasks. Specifically, I am going to do the following: Check…


PowerTip: Use PowerShell to Enable Scheduled Task

Summary: Use Windows PowerShell to enable a scheduled task.  How can I use Windows PowerShell to enable a scheduled task?  Use the Enable-ScheduledTask function from the Scheduled Task module, for example: Enable-ScheduledTask -TaskName applog Note  This command uses the Scheduled Task module (which was introduced in Windows 8 and Windows Server 2012), and it requires admin rights.


Use PowerShell to Create Scheduled Tasks Folders

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a folder for scheduled tasks. Microsoft Scripting Guy, Ed Wilson, is here. Today I have several meetings, and I am really looking forward to them. One of my meetings is with the Windows PowerShell team. I have a meeting with them every…


PowerTip: Use PowerShell to Disable Scheduled Task

Summary: Learn how to use Windows PowerShell to disable a scheduled task.  How can I use Windows PowerShell to disable a scheduled task?  Use the Disable-ScheduledTask cmdlet from the Scheduled Task module, for example: Disable-ScheduledTask -TaskName applog Note  This cmdlet was introduced in Windows 8 and Windows Server 2012, and it requires admin rights.