Quantcast
Channel: Code – Ben Armstrong’s Virtualization Blog
Browsing all 10 articles
Browse latest View live

Checking the mouse button state in Hyper-V

Continuing in my series on Hyper-V automation; as well as being able to get the position of the mouse cursor in the virtual machine – you can also check the mouse button state. $VMName = “Windows 10...

View Article



Making and tuning a “safe automated mouse click”

Over the last week I have been talking about the components needed to automate the mouse in Hyper-V.  This is because I have been working on some automation scripts for my environment.  One problem...

View Article

Image may be NSFW.
Clik here to view.

Virtual Holograms

As opposed to real holograms? Anyway, semantic issues aside, this is something that I am really excited about.  About two weeks ago we announced the availability of the Hololens Emulator.  This allows...

View Article

Copy files over PowerShell Direct (and more)

We recently updated a number of the capabilities of PowerShell Direct.  In Windows 10 Insider builds greater than 14280, and in Windows Server 2016, you can now create persistent PowerShell sessions...

View Article

Capturing a Hyper-V VM Screen to a file

Here is an interesting thing you can do with Hyper-V – with a little bit of code you can grab a copy of the virtual machine display and write it out to a bitmap file: This is something that I use in a...

View Article


Reading a pixel on a VM Screen

Two weeks ago I provided a code sample that allowed you to capture a Hyper-V virtual machine screen to a bitmap.  As part of this script – the virtual machine screen is stored in a Windows bitmap...

View Article

Image may be NSFW.
Clik here to view.

Find a bitmap on the VM screen

Continuing with my series on how to do interesting automation stuff with Hyper-V – today I want to show you how to use PowerShell and the AForge.NET library to locate a bitmap on a virtual machine...

View Article

Windows – Read me that virtual machine

After a couple of weeks of playing around with Hyper-V APIs for reading virtual machine screens and sending keystrokes – I hit upon an interesting idea.  What would it take to make a “virtual machine...

View Article


Script to Inventory VM Guest OSes – Updated

The other day a colleague asked me how to use PowerShell to gather information about what operating system was running inside of each virtual machine on a Hyper-V server.  I went to point them to this...

View Article


Scaling out PowerShell with PowerShell Direct

I have spent a bunch of time this week working on various demos for Ignite in Atlanta.  While building these demos I have been heavily using PowerShell Direct to orchestrate large sets of virtual...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images