Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Use PowerShell to Find Virtual Machine DVD Info

Summary: Use Windows PowerShell to find Hyper-V DVD information in Windows 8 or Windows Server 2012.    How can I use Windows PowerShell in Windows 8 or Windows Server 2012 to find Hyper-V virtual machine DVD disk information?  Use the Get-VM cmdlet and pipe the output to the Get-VMDvdDrive cmdlet: PS C:> get-vm | Get-...

PowerTip: Use PowerShell to Keep Up-to-Date with the 2013 Scripting Games

Summary: Use Windows PowerShell to help you stay up-to-date with the 2013 Scripting Games.  How can I use Windows PowerShell to obtain an RSS feed of all 2013 Scripting Games content from the Scripting Guys?  Use the Invoke-RestMethod cmdlet in Windows PowerShell 3.0 and specify the uri for the Scripting Guys 2013 Scripting ...

PowerTip: Use PowerShell to Find WMI Classes with a Specific Property

Summary: Use Windows PowerShell to find WMI classes that contain a specific property.  How can I use Windows PowerShell to help find a WMI class that contains a specific property?  Use the Get-CimClass cmdlet in Windows PowerShell 3.0, and use the specific property name or a wildcard pattern to help you find the class: Get-...

PowerTip: Use PowerShell to Detect Mouse Type Used on Laptop

Summary: Use Windows PowerShell and WMI to detect the type of mouse that is being used on a laptop running Windows 8.  How can I find information about the type of mice that are being used in conjunction with my laptop that is running Windows 8?  Depending on the mouse, you may be able to obtain the information by using the...