Get-SCVirtualSwitchExtension
Get-SCVirtualSwitchExtension
Gets a virtual switch extension.
Syntax
Parameter Set: All
Get-SCVirtualSwitchExtension [[-Name] <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: ByID
Get-SCVirtualSwitchExtension [[-Name] <String> ] -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: ByVirtualSwitchExtensionManager
Get-SCVirtualSwitchExtension [[-Name] <String> ] -VirtualSwitchExtensionManager <VirtualSwitchExtensionManager> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCVirtualSwitchExtension cmdlet gets one or more virtual switch extension objects.
Parameters
-ID<Guid>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VirtualSwitchExtensionManager<VirtualSwitchExtensionManager>
Specifies a virtual switch extension manager object.
To obtain a virtual switch extension manager object, use the Get-SCVirtualSwitchExtensionManager cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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.
Examples
Example 1: Get a virtual switch extension by its name
This command gets the virtual switch extension object named VirtualSwitchExtension01, and returns information about the object for the user.
PS C:\> Get-SCVirtualSwitchExtension -Name "VirtualSwitchExtension01"