![]() NAME Get-VMQuestion SYNOPSIS Retrieves the pending questions for the specified virtual machines. SYNTAX Get-VMQuestion [-VM CommonParameters>] DESCRIPTION Retrieves the pending questions for the specified virtual machines. A question is a task that requires a response f rom you. If the -VM parameter is not specified or its value is $null, the cmdlet returns all questions for all virt ual machines on the specified servers. PARAMETERS -VM Specify the virtual machines whose pending questions you want to retrieve. Required? false Position? named Default value Accept pipeline input? true (ByValue) Accept wildcard characters? true -QuestionText Specify a phrase from the text that describes the questions you want to retrieve. Required? false Position? 1 Default value Accept pipeline input? false Accept wildcard characters? true -QuestionId Specify the IDs of the questions you want to retrieve. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? true -Server Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co mmand runs on the default servers. For more information about default servers, see the description of Connect-V IServer. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? true This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters". INPUTS OUTPUTS VmQuestion[] NOTES -------------- Example 1 -------------- C:\PS>Get-VMQuestion -VM VM Retrieves the questions of the VM virtual machine. -------------- Example 2 -------------- C:\PS>$vm = Get-VM VM $vm | Get-VMQuestion -QuestionText "*have been moved or copied*" Retrieves the VM virtual machine questions that contain the phrase "have been moved or copied". RELATED LINKS Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMQuestion.html Set-VMQuestion |