## PowerCLI Reference

# VirtualPortgroupBaseInterop - Object

Extends
  VirtualPortGroupBase, VmRelatedObject, NetworkAdapterRelatedObject

Properties

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

Methods

Methods defined in this object
AttachNetworkAdapter

## AttachNetworkAdapter

Attaches a network adapter to a virtual portgroup.

Syntax
  TaskInterop AttachNetworkAdapter()

Return value
  TaskInterop

Parameters

Name | Type | Description
--- | --- | ---
networkAdapter | NetworkAdapter | The network adapter to be attached.

Copyright © VMware, Inc. All rights reserved.