Scripting Blog

A place to learn about PowerShell and share stories of automation

Create a New Virtual Machine with PowerShell: Part 3

Summary: Windows PowerShell MVP and honorary Scripting Guy, Sean Kearney, completes his series about using Windows PowerShell to create a virtual machine. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent guest blogger is Sean Kearney. If you are new to the ...

PowerTip: Use PowerShell to Find Screensaver Info for Logged-on User

Summary: Use Windows PowerShell to find screensaver information for a user who is currently logged-on.  How can I use Windows PowerShell to find screensaver information for a currently logged-on user?  Use WMI, query the Win32_Desktop class, and select the currently logged-on user. Get-CimInstance win32_desktop | where name -...

Use PowerShell to Interact with the Windows API: Part 3

Summary: Guest blogger, Matt Graeber, completes his three-part series about interacting with the Windows API. Microsoft Scripting Guy, Ed Wilson, is here. Matt Graeber is back with us today to finish up his three-part series. Read the previous parts to catch up for today’s post: In the last two posts, I described two methods of ...

Use PowerShell to Interact with the Windows API: Part 2

Summary: Guest blogger, Matt Graeber, talks more about interacting with the Windows API. Microsoft Scripting Guy, Ed Wilson, is here. Matt Graeber is back today with Part 2 of a three-part series that started yesterday: Use PowerShell to Interact with the Windows API: Part 1. Now, here’s Matt… In my last post, I described how to ...