Get-SCVirtualNetworkAdapterPortProfileSet
Gets a virtual network adapter port profile set.
Syntax
All (Default)
Get-SCVirtualNetworkAdapterPortProfileSet
[[-Name] <String>]
[-VMMServer <ServerConnection>]
[<CommonParameters>]
ById
Get-SCVirtualNetworkAdapterPortProfileSet
[[-Name] <String>]
-ID <Guid>
[-VMMServer <ServerConnection>]
[<CommonParameters>]
LogicalSwitch
Get-SCVirtualNetworkAdapterPortProfileSet
[[-Name] <String>]
-LogicalSwitch <LogicalSwitch>
[-VMMServer <ServerConnection>]
[<CommonParameters>]
Description
The Get-SCVirtualNetworkAdapterPortProfileSet cmdlet gets one or more virtual network adapter port profile sets. You can get a virtual network adapter port profile set by its name or ID, or all virtual network adapter port profile sets for a logical switch.
Examples
Example 1: Get a virtual network adapter port profile set by its name
PS C:\> Get-SCVirtualNetworkAdapterPortProfileSet -Name "VirtualNetworkAdapterPortProfSet01"
This command gets the virtual network adapter port profile set object named VirtualNetworkAdapterPortProfileSet01 and displays information about the object to the user.
Example 2: Get all virtual network adapter port profile sets for a logical switch
PS C:\> $LogSwitch = Get-SCLogicalSwitch -Name "LogicalSwitch01"
PS C:\> Get-SCVirtualNetworkAdapterPortProfileSet -LogicalSwitch $LogSwitch
The first command gets the logical switch object named LogicalSwitch01 and stores the object in the $LogSwtich variable.
The second command gets all virtual network adapter port profile sets that use logical switch LogicalSwitch01.
Parameters
-ID
Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ById
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-LogicalSwitch
Specifies a logical switch object.
Parameter properties
Type: | LogicalSwitch |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
LogicalSwitch
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of a Virtual Machine Manager (VMM) object.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
Type: | ServerConnection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.