Syntax
Get-VMQuestion [-VM <VirtualMachine[]>] [[-QuestionText] <String>] [-QuestionId <String>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Set-VMQuestionDetailed Description
Retrieves the pending questions for the specified virtual machines. A question is a task that requires a response from you. If the ?VM parameter is not specified or its value is $null, the cmdlet returns all questions for all virtual machines on the specified servers.Parameters
Input Type
Return Type
VMware.VimAutomation.Types.VmQuestionNotes
Examples
-------------- Example 1 -------------- C:\PS>Get-VMQuestion -VM myVM Retrieves the questions of the myVM virtual machine. -------------- Example 2 -------------- C:\PS>$vm1 = Get-VM MyVM $vm1 | Get-VMQuestion -QuestionText "*have been moved or copied*" Retrieves the MyVM virtual machine questions that contain the phrase "have been moved or copied".