# Managed Object - GuestProcessManager

Property of
  GuestOperationsManager
See also
  GuestAuthentication, GuestProcessInfo, GuestProgramSpec, VirtualMachine
Since
  vSphere API 5.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
ListProcessesInGuest, ReadEnvironmentVariableInGuest, StartProgramInGuest, TerminateProcessInGuest

# ListProcessesInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestProcessManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 5.0
auth P | GuestAuthentication | Since vSphere API 5.0
pids* P | xsd:long[] | Since vSphere API 5.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
GuestProcessInfo[] |

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# ReadEnvironmentVariableInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestProcessManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 5.0
auth P | GuestAuthentication | Since vSphere API 5.0
names* P | xsd:string[] | Since vSphere API 5.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
xsd:string[] |

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# StartProgramInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestProcessManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 5.0
auth P | GuestAuthentication | Since vSphere API 5.0
spec P | GuestProgramSpec | Since vSphere API 5.0

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
xsd:long |

Faults

Type | Description
--- | ---
FileFault |
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# TerminateProcessInGuest

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the GuestProcessManager used to make the method call.
vm P | ManagedObjectReference to a VirtualMachine | Since vSphere API 5.0
auth P | GuestAuthentication | Since vSphere API 5.0
pid P | xsd:long | Since vSphere API 5.0

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
GuestOperationsFault |
InvalidState |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None