Use PowerShell to Detect if Hypervisor is Present

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to determine if a hypervisor is present  Hey, Scripting Guy! I have been trying to use WMI to determine if a server has the hypervisor present. I found the WMI class, and even the properties I need. But alas, the WMI class seems to…


2012 Scripting Games Advanced Event 9: Perform an Inventory

  Summary: In Advanced Event 9, you are required to perform a hardware inventory and write the information to an XML file.   About this event Division Advanced Date of Event 4/12/2012 12:01 AM Due Date 4/19/2012 12:01 AM Event scenario You are a network manager at a medium-sized organization, and it is time to…


2012 Scripting Games Beginner Event 8: Is Computer Desktop or Laptop?

  Summary: In Beginner Event 8, you are required to determine if a computer is a desktop computer or a laptop computer.   About this event Division Beginner Date of Event 4/11/2012 12:01 AM Due Date 4/18/2012 12:01 AM  Event scenario You are the desktop manager at a midsized enterprise company. It is inventory time,…


Use PowerShell to Find and Uninstall Software

Summary: Learn how to use Windows PowerShell to get software installation locations, and to uninstall software from remote computers. Hey, Scripting Guy! We have a dumb application that we have to use at work. The company has released a new version of this application, and I am trying to write a Windows PowerShell script to…


Create a Custom Object from WMI by Using PowerShell

Summary: Create a custom object from WMI to display processor and operating system information using Windows PowerShell.   Hey, Scripting Guy! Your script yesterday was pretty cool. However, in addition to obtaining information about the processor, I also need to know operating system is 32-bit or 64-bit, the version of Windows that is installed, and…


Use PowerShell and WMI to Get Processor Information

Summary: Learn how to get the number of processor cores via WMI and Windows PowerShell. Hey, Scripting Guy! I need to perform an audit of computers on our network. Specifically, I am tasked with obtaining CPU information. I need the processor speed, number of cores, and number of logical processors. I feel like I should…


Use the BSonPoSH PowerShell Module to Simplify AD Tasks

Summary: Learn how to use the BSonPoSH Windows PowerShell module to simplify Active Directory management tasks.   Hey, Scripting Guy! I am wondering if there are any modules that can help me with routine, daily administration tasks. I really hate to re-invent the wheel, so if you can point the way to a nice, juicy…


The 2011 Scripting Games Advanced Event 5: Use PowerShell to Determine Upgrade to Windows 7 Eligibility

Summary: Advanced Event 5 of the 2011 Scripting Games uses Windows PowerShell to determine if a computer is upgradable to the Windows 7 operating system. About this event Division Advanced Date of Event 4/8/2011 12:15 AM Due Date 4/15/2011 12:15 AM Event scenario Your company is planning an upgrade from Windows XP to Windows 7,…

11

Hey, Scripting Guy! How Can I Hide My Desktop Wallpaper?

I give a lot of presentations, and the background picture of my baby alpaca, while fascinating to me, probably does not have the same level of attraction to my clients. I know I can mouse around and change the desktop picture to some bland color, but I prefer to run a script and make the…

8