Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Use PowerShell to Configure Scheduled Task

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to configure a scheduled task. Microsoft Scripting Guy, Ed Wilson, is here. This morning is a coffee morning . I don’t have a lot of coffee mornings, but occasionally I break down and desire a raw coffee jolt...
  • Blog Post: 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...
  • Blog Post: Use PowerShell to Create Scheduled Tasks

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a scheduled task. Microsoft Scripting Guy, Ed Wilson, is here. Today, it is cold, wet, and rainy—not exactly my favorite combination. In fact, I would rather have snow. At least then there would be an...
  • Blog Post: Use PowerShell to Show Results of Scheduled Tasks

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to see the results of scheduled tasks. Microsoft Scripting Guy, Ed Wilson, is here. It is snack time. For me, a perfect snack is a piece of biscotti and a cup of tea. Today, I am having such a snack—the tea is...
  • Blog Post: Use PowerShell to Find Hotfixes Installed in Time Range

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find hotfixes that were installed during a certain time range. Hey, Scripting Guy! I have a problem at work. It seems there was a hotfix that was installed in the last couple of months that is causing problems...
  • Blog Post: Use PowerShell and WMI to Explore Threads

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to explore processes and threads. Hey, Scripting Guy! I need to find information about threads that are related to a specific process. I am wondering how I can do this by using Windows PowerShell. Can you help...
  • Blog Post: Use PowerShell to Identify When Hotfixes Are Installed

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to list when hotfixes are installed. Hey, Scripting Guy! Our corporate security person has tasked my manager with finding out about the number of hotfixes released by Microsoft each month. My manager, of course, passed...
  • Blog Post: Use PowerShell to Start a Process at Random Times

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to start a process at random intervals. Hey, Scripting Guy! I have a rather unusual request. I am testing a new monitoring application, and I need a script that will start processes at random intervals so I can check...
  • Blog Post: Why Are All These Services Starting?

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using WMI to find out how services start. Hey, Scripting Guy! I was looking at the processes on my workstation, and I see lots of things running. I suspect many of these are actually services. But I am wondering how I can use Windows PowerShell...
  • Blog Post: PowerShell Mini-Scripting Games 2014: Answer 4

    Summary : Here is the answer to Problem 4 in Windows PowerShell Mini-Scripting Games 2014. Microsoft Scripting Guy, Ed Wilson, is here. It is time for the answer to Problem 4 in Mini-Scripting Games 2014. Last week, I posted the complete Problem 4 description and task outline . Problem 4 synopsis...
  • Blog Post: Exclude Delayed Start Services when Checking Status with PowerShell

    Summary : Windows PowerShell MVP, Mike Robbins, shows us how to use Windows PowerShell to check the status of Windows services and improve the accuracy of results. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Mike Robbins. Mike F Robbins is a senior systems engineer...
  • Blog Post: Weekend Scripter: Develop Minimal Footprint with PowerShell and Features on Demand

    Summary : Guest blogger, Yung Chou, talks about using Windows PowerShell to develop a minimal footprint with Features on Demand. Microsoft Scripting Guy, Ed Wilson, is here. Today I have another guest blog post from my fellow Microsoftee, Yung Chou. Yung is a developer experience evangelist; and therefore...
  • Blog Post: Weekend Scripter: PowerShell Speed Improvement Techniques

    Summary : Microsoft PFE, Dan Sheehan, talks about speeding up Windows PowerShell scripts. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Dan Sheehan, who debuted yesterday as a new guest blogger with his post Best Practices for PowerShell Scripting in Shared Environment . Dan recently...
  • Blog Post: Troubleshooting PowerShell Scheduled Jobs

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about troubleshooting Windows PowerShell scheduled jobs. Microsoft Scripting Guy, Ed Wilson, is here. This has been an awesome week at TechEd 2014 in Houston. I can avoid the "Houston we have a problem" joke for the simple reason that the...
  • Blog Post: Advanced PowerShell Scheduled Jobs

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about advanced aspects of Windows PowerShell scheduled jobs. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to look at some of the more advanced aspects of Windows PowerShell scheduled jobs. Windows PowerShell scheduled jobs do not have...
  • Blog Post: Use PowerShell to Create Job that Runs at Startup

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about creating a job that runs at startup. Microsoft Scripting Guy, Ed Wilson, is here. One of the needs that never seems to change is the need to run a startup script. In the old days, that meant placing a .bat or .vbs file in a startup folder,...