Get-SCVMHostNetworkAdapterProfile

Gets a host network adapter profile.

Syntax

Get-SCVMHostNetworkAdapterProfile
   [-VMMServer <ServerConnection>]
   [-All]
   [<CommonParameters>]
Get-SCVMHostNetworkAdapterProfile
   [-VMMServer <ServerConnection>]
   [-ID <Guid>]
   [<CommonParameters>]

Description

The Get-SCVMHostNetworkAdapterProfile cmdlet gets a host network adapter profile by its ID.

Examples

Example 1: Get a host network adapter profile by its ID

PS C:\> Get-SCVMHostNetworkAdapterProfile -ID "259f47c7-c5a9-429d-a421-d232f9b34991"

This command gets the network adapter profile object with the ID of 259f47c7-c5a9-429d-a421-d232f9b34991.

Parameters

-All

Indicates that this cmdlet gets all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All gets all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Outputs

HostNetworkAdapterProfile[]

This cmdlet returns an array of HostNetworkAdapterProfile objects.