Get-VMQuestion
This cmdlet 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.
Syntax
[-QuestionText <String>]
[-Server <VIServer[]>]
[-VM <VirtualMachine[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String | named |
|
Specifies the IDs of the questions you want to retrieve. | optional |
|
String | named |
|
Specifies a phrase from the text that describes the questions you want to retrieve. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | optional |
|
VirtualMachine[] | named |
|
Specifies the virtual machines whose pending questions you want to retrieve. |
Output
VMware.VimAutomation.ViCore.Types.V1.VM.VMQuestion
Examples
Example 1
Retrieves the questions of the VM virtual machine.
Example 2
Retrieves the VM virtual machine questions that contain the phrase "have been moved or copied".
Related Commands
VM
VMConsoleWindow
VMGuest
VMGuestDisk
VMGuestFile
VMQuestion
VMResourceConfiguration
VMScript