VMware Cloud Community
JerryAndersen
Contributor
Contributor
Jump to solution

Start a Workstation Pro VM from PowerShell

I'm evaluating Workstation Pro for some automated test setup. I ahve create a VM and I can run it fine from teh manager. For now I run everything locally.

But is it possible to start a VM from powershell and copy files to it? 

What I can find is that vSphere have a Cmdlets (PowerCLI) for that purpose, so it might be that Workstation Pro isn't usefull for this.

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

I'm afraid PowerCLI doesn't support VMware Workstation.

But there are a couple of modules/scripts from Karsten Bott that could help.

Note that these are in no way supported by VMware :smileycool:


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

2 Replies
LucD
Leadership
Leadership
Jump to solution

I'm afraid PowerCLI doesn't support VMware Workstation.

But there are a couple of modules/scripts from Karsten Bott that could help.

Note that these are in no way supported by VMware :smileycool:


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

bluefirestorm
Champion
Champion
Jump to solution

With Workstation Pro, you can explore using VMrun.exe found in C:\Program Files (x86)\VMware\VMware Workstation folder.