## PowerCLI Reference

# VmRelatedObject - Object

Extends
  VmRelatedObjectBase

Properties

Name | Type | Notes
--- | --- | ---

Methods

Methods defined in this object
ToVirtualMachine

## ToVirtualMachine

Converts the specified object to zero, one or more VM objects.

Syntax
  IEnumerable<VirtualMachine> ToVirtualMachine()

Return value
  IEnumerable

Parameters

Name | Type | Description
--- | --- | ---
none

Copyright © VMware, Inc. All rights reserved.