PowerTip: Find Missed Runs on Scheduled Task or Job

Summary: Use Windows PowerShell to find the number of missed runs on a scheduled task or scheduled job.  How can I use Windows PowerShell to find the number of missed runs on a scheduled task or scheduled job?   Use the scheduled task cmdlets: PS C:> Get-ScheduledTask -TaskName MyScheduledJob | Get-ScheduledTaskInfo   LastRunTime        : 10/16/2013 10:20:20…


Using Scheduled Tasks and Scheduled Jobs in PowerShell

Summary: Learn about using scheduled tasks and scheduled jobs in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today Dave Bishop, senior technical writer on the Windows Server team, and June Blender, senior programming writer on the Windows Azure Active Directory team, investigate scheduled tasks and scheduled jobs in Windows PowerShell. And now, here’s…


Weekend Scripter: Use PowerShell to Clean Out Temp Folders

Summary: Guest blogger, Bob Stevens, talks about using Windows PowerShell to clean out temporary folders on desktops following a malware infection. Microsoft Scripting Guy, Ed Wilson, is here. Today, we welcome back our newest guest blogger, Bob Stevens. Yesterday Bob wrote about a quick script that he developed to pick out comments from a Windows…


Use PowerShell to Change the Mouse Pointer Scheme

Summary: Guest blogger and Honorary Scripting Guy Brian Wilhite talks about using Windows PowerShell to change a user’s mouse scheme. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blogger—Brian Wilhite is an Honorary Scripting Guy and member of the Charlotte PowerShell Users Group. See previous blogs by Brian here. Take it…


Use PowerShell 3.0 to Find Enabled Windows 8 Features

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to find enabled Windows 8 features. Microsoft Scripting Guy, Ed Wilson, is here. One of the neat things about Windows (does not matter the version) is how I can customize the installation or deployment. In fact, nearly every version of Windows I…


Use PowerShell to Reset the Secure Channel on a Desktop

Summary: Learn three ways to use Windows PowerShell to reset the computer secure channel.  Hey, Scripting Guy! We have a problem with the computers in our computer classroom. We set up this classroom to teach new hires how to use our mission critical application. We are, however, not hiring as many people as we used…


Use PowerShell to Replace netdom Commands to Join the Domain

Summary: Learn how to replace netdom commands with simple Windows PowerShell cmdlets to rename and reboot the computer or join the domain.  Hey, Scripting Guy! It seems that I have been hand building a number of computers recently for a computer lab we are setting up at work. I have written a batch file that…


Learn How to Use PowerShell to Configure Jump Lists

Summary: Microsoft PFE, Chris Wu, discusses using Windows PowerShell to configure Jump Lists. Microsoft Scripting Guy, Ed Wilson, is here. Welcome to the weekend. Today we have a special treat in the form of a guest blogger. The Scripting Wife and I had the good fortune to meet Chris Wu in Montreal, Canada when we…


Use PowerShell to Find Last Logon Times for Virtual Workstations

Summary: Learn how to Use Windows PowerShell to find the last logon times for virtual workstations. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Brian Wilhite. Brian was our guest blogger yesterday when he wrote about detecting servers that will have a problem with an upcoming time change due to daylight savings…


PowerShell Community and the Windows System Administration Tool

Summary: See how guest blogger, Rich Prescott, leveraged the Windows PowerShell community as he built his popular ArPosh Client System Administration tool. Microsoft Scripting Guy, Ed Wilson, is here. We are really starting the new year off correctly. We have another very strong guest blogger today. Rich Prescott, is currently working as an infrastructure architect…