Answering VM questions with PowerCLI

Managing Virtual Machine questions with PowerCLI | VMware PowerCLI Blog – VMware Blogs.

Seems like every day there are a number of View VMs that have the question asking if the VM was moved or copied. VMware View can’t do any operations with them until the question is answered, and it won’t answer the question itself so here’s a quick one-liner to just answer them all at once:

Get-VMQuestion | Set-VMQuestion -Option "I copied it" -confirm:$false

This could be scripted to run regularly, but for now I only run it when I see a few pending questions.