Invoke-VMScript for AHV

  • 9 February 2017
  • 2 replies

Badge +2
Hi all,

I just started to write a deployment script for VMs on AHV cloning from a template. Using Sysprep lots of OS Customization is already possible. However, I would like to know if there is a possibility to run a (powershell) script in a Windows 2012 R2 VM on AHV while it has not configured any NIC yet.
I know I can easily login via console and start every script I want, but I would like to run it fully automated within my deployment script from my client (for several VMs).

Any ideas?

This topic has been closed for comments

2 replies

Userlevel 6
Badge +29
hey th86 - have you gotten to the bottom of this one yet, or do you still need help?
Badge +2
Hi Jon,

I got the information by a SE, that this functionality is currently not included in AHV and is not expected to be added soon.