Scripting Blog

A place to learn about PowerShell and share stories of automation

Conditional User Profile Deletion Revisited

Summary: Guest blogger, Bob Stevens, revises his script for conditional user profile removal. Microsoft Scripting Guy, Ed Wilson, is here. I am happy to welcome back guest blogger, Bob Stevens. Take it away Bob… Previously I released a blog post entitled Weekend Scripter: Use PowerShell for Conditional User Profile Removal. If you have ...

Weekend Scripter: Use PowerShell to Configure a New Laptop

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to configure a new laptop. Microsoft Scripting Guy, Ed Wilson, is here. WooHoo! My new laptop arrived. Oh, no…I now have a lot of work to do to install and configure Windows 8 on it. You see, I never, never simply turn on and use a new laptop—...

Use PowerShell to Find Detailed Windows Profile Information

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find detailed Windows profile information.  Hey, Scripting Guy! I am in a bind. I need to find out who is using what profile on a desktop computer. I also need to find out when the profile was last used. This is because many of the computers in our lab ...

Use PowerShell to Find Servers that Need a Reboot

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find servers that need to be rebooted.   Hey, Scripting Guy! My boss is a Falstaff sort of character, but every once in a while he does actually have a good idea. When he recently logged on to a server console (don’t ask me why my boss was ...

Use PowerShell to Detect Power State and to Set Power Plan

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect the power state on his laptop and to set the appropriate power plan. Microsoft Scripting Guy, Ed Wilson, is here. This evening in Oslo, Norway, the Scripting Wife and I are attending the Microsoft Technology User Group meeting. The meeting runs from 18:...

Feedback usabilla icon