VMware Cloud Community
mikefoley
VMware Employee
VMware Employee

WinPE and Invoke-Script

Hi,

Has anyone built a WinPE image that boots and accepts PowerCLI commands like Invoke-Script or Copy-VMguestfile?

I know you can't put Powershell within the WinPE image because of the lack of .NET. But if WinPE is running VMware Tools, it should still be able to run .bat files called from Invoke-Script, correct?

Any help is much appreciated.

thanks,

mike

mike

0 Kudos
23 Replies
continuum
Immortal
Immortal

Mike - the vcruntimes are no problem here.

In both WinPE 1 and WinPE 3 I install them on the fly directly after boot.




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook

You also find me in the support crew of PHD Virtual Backup


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
mikefoley
VMware Employee
VMware Employee

You just run vcredist_x86.exe?

When we try that, we get the same "the system cannot execute the specificed program". I'm wondering if we didn't build the WinPE image correctly?

mike

0 Kudos
continuum
Immortal
Immortal

Mike - which version of WinPE are you talking about ?

I use PE based on 2k3 EE for 32 bit and based on Win 7 for 64 bit. In both varaiants I have a msi-installer so that I can add apps on the fly.br>

In the 32bit PE I have vmtoolsd running as a process without the runtime issues you mentioned

_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook

You also find me in the support crew of PHD Virtual Backup


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
continuum
Immortal
Immortal

... just curious ... did you make any progress ?




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook

You also find me in the support crew of PHD Virtual Backup


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos