VMware Cloud Community
jarud
Contributor
Contributor
Jump to solution

Screenshot of VM

Hi, is there a api call, cmdlet or example script to get a screenshot of a VM?
Old "methods" used invoke-webrequest to get a screenshot, but this is not working anymore.
Thanks in advance!

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The APi method is CreateScreenshot_Task
See Wiliam's post Automating Virtual Machine screenshots in vSphere

The post also describes the HTTP method which seems to be working well


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

View solution in original post

1 Reply
LucD
Leadership
Leadership
Jump to solution

The APi method is CreateScreenshot_Task
See Wiliam's post Automating Virtual Machine screenshots in vSphere

The post also describes the HTTP method which seems to be working well


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