Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-SCVirtualNetworkAdapterConfiguration

Updated: September 27, 2012

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCVirtualNetworkAdapterConfiguration

Gets the virtual network adapter configuration information contained in a virtual machine configuration.

Syntax

Parameter Set: Default
Get-SCVirtualNetworkAdapterConfiguration -VMConfiguration <VMConfiguration> [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Get-SCVirtualNetworkAdapterConfiguration cmdlet gets the virtual network adapter configuration information that is contained within a virtual machine configuration.

For more information about Get-SCVirtualNetworkAdapterConfiguration, type: "Get-Help Get-SCVirtualNetworkAdapterConfiguration -online".

Parameters

-VMConfiguration<VMConfiguration>

Specifies a virtual machine configuration object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • VirtualNetworkAdapterConfiguration

Examples

1: Get a virtual network adapter configuration from a virtual machine configuration.

The first command gets the service configuration object named Service01 and stores the object in the $ServiceConfig variable.

The second command gets the computer tier configuration for the service configuration stored in $ServiceConfig and stores the object in the $TierConfig variable.

The third command gets the virtual machine configuration for the computer tier configuration stored in $TierConfig and stores the object in the $VMConfig variable.

The fourth command gets the virtual network adapter configuration for the first virtual machine configuration stored in $VMConfig.

The last command displays the properties of the virtual network adapter configuration stored in $VMConfig to the user.


PS C:\> $ServiceConfig = Get-SCServiceConfiguration -Name "Service01"PS C:\> $TierConfig = Get-SCComputerTierConfiguration -ServiceConfiguration $ServiceConfigPS C:\> $VMConfig = Get-SCVMConfiguration -ComputerTierConfiguration $TierConfigPS C:\> $VNAConfig = Get-SCVirtualNetworkAdapterConfiguration -VMConfiguration $VMConfig[0]PS C:\> $VNAConfig

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.