-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVLogicalInterconnectGroup
Retrieve Logical Interconnect Group resource(s).
Get-HPOVLogicalInterconnectGroup[ [-Name] <String>] [-Type] <String>[ [-ApplianceConnection] <Object>] [-exportFile] <String> [<CommonParameters>]
Get-HPOVLogicalInterconnectGroup [-InputObject] <Object>[ [-ApplianceConnection] <Object>] [<CommonParameters>]
Retrieves a list of all Logical Interconnect Groups or just specific ones via a query if the name parameter is provided. The output can be sent to a file using the exportFile parameter.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Pipeline input resource generated from Wait-HPOVTaskComplete, or successfully completed Async Task resource object.
Aliases | Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Name <String>
The name of the Logical Interconnect Group to retrieve.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Type <String>
Provide the type of Logical Interconnect Group to return. Omit to return all Logical Interconnect Group resources.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-exportFile <String>
Aliases [-x, -export] The full path and file name to export the contents retrieved from the call to Get-HPOVLogicalInterconnectGroup.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Successfully Completed Async task resource from Wait-HPOVTaskComplete or other supported method
**System.Collections.ArrayList ** A Logical Interconnect Group or collection of Logical Interconnect Groups
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup
Returns all Logical Interconnect Groups defined on the appliance to standard output.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup -Name "Production"
Returns just the Production Logical Interconnect Group object to standard output.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $myLigs = Get-HPOVLogicalInterconnectGroup
Returns the Get-HPOVLogicalInterconnectGroup query and stores it in the object $myLigs
-------------------------- EXAMPLE 4 --------------------------PS C:\> $LigName = 'VC FF Virt Prod' PS C:\> $CreatedLig = New-HPOVLogicalInterconnectGroup -Name $LigName -bays @{1 = "FlexFabric";2 = "FlexFabric"} -EnableIgmpSnooping $True -InternalNetworks 'VMMigration Network' | Wait-HPOVTaskComplete | Get-HPOVLogicalInterconnectGroup PS C:\> $CreatedLig Name Enclosure Groups ---- ---------------- VC FF Virt Prod
Create a new Logical Interconnect Group resource, wait for the task to complete, then retrieve the created resource.
-------------------------- EXAMPLE 5 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup -exportFile "c:\myApplianceConfig\LogicaICGs.json"
Returns the Get-HPOVLogicalInterconnectGroup query results to the file c:\myApplianceConfig\LogicaICGs.json
- [New-HPOVLogicalInterconnectGroup] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVLogicalInterconnectGroup)
- [Remove-HPOVLogicalInterconnectGroup] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVLogicalInterconnectGroup)
- [Get-HPOVLogicalInterconnect] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVLogicalInterconnect)
### HPE OneView 2.00 Library
Retrieve Logical Interconnect Group resource(s).
Get-HPOVLogicalInterconnectGroup [-Name] <String> [-ApplianceConnection] <Object> [-exportFile] <String> [<CommonParameters>]
Get-HPOVLogicalInterconnectGroup [-Resource] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]
Retrieves a list of all Logical Interconnect Groups or just specific ones via a query if the name parameter is provided. The output can be sent to a file using the exportFile parameter.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Name <String>
The name of the Logical Interconnect Group to retrieve.
Aliases | None |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Resource <Object>
Pipeline input resource generated from Wait-HPOVTaskComplete, or successfully completed Async Task resource object.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-exportFile <String>
Aliases [-x, -export] The full path and file name to export the contents retrieved from the call to Get-HPOVLogicalInterconnectGroup.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Successfully Completed Async task resource from Wait-HPOVTaskComplete or other supported method.
HPOneView.Networking.LogicalInterconnectGroup [System.Management.Automation.PSCustomObject] A Logical Interconnect Group resource.
System.Collections.ArrayList <HPOneView.Networking.LogicalInterconnectGroup> A collection of Logical Interconnect Group resources.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup
Returns all Logical Interconnect Groups defined on the appliance to standard output.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup "Production"
Returns just the Production Logical Interconnect Group object to standard output.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $myLigs = Get-HPOVLogicalInterconnectGroup
Returns the Get-HPOVLogicalInterconnectGroup query and stores it in the object $myLigs
-------------------------- EXAMPLE 4 --------------------------PS C:\> $LigName = 'VC FF Virt Prod' PS C:\> $CreatedLig = New-HPOVLogicalInterconnectGroup -Name $LigName -bays @{1 = "FlexFabric";2 = "FlexFabric"} -EnableIgmpSnooping $True -InternalNetworks 'VMMigration Network' | Wait-HPOVTaskComplete | Get-HPOVLogicalInterconnectGroup PS C:\> $CreatedLig Name Enclosure Groups ---- ---------------- VC FF Virt Prod
Create a new Logical Interconnect Group resource, wait for the task to complete, then retrieve the created resource.
-------------------------- EXAMPLE 5 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup -exportFile "c:\myApplianceConfig\LogicaICGs.json"
Returns the Get-HPOVLogicalInterconnectGroup query results to the file c:\myApplianceConfig\LogicaICGs.json
- [New-HPOVLogicalInterconnectGroup] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVLogicalInterconnectGroup)
- [Remove-HPOVLogicalInterconnectGroup] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVLogicalInterconnectGroup)
- [Get-HPOVLogicalInterconnect] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVLogicalInterconnect)
### HPE OneView 1.20 Library
Retrieve Logical Interconnect Group resource(s).
Get-HPOVLogicalInterconnectGroup[ [-name] <name>][ [-exportFile] <exportFile>] [<CommonParameters>]
Retrieves a list of all Logical Interconnect Groups or just specific ones via a query if the name parameter is provided. The output can be sent to a file using the exportFile parameter.
-name <name>
The name of the Logical Interconnect Group to retrieve.
Aliases | None. |
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-exportFile <exportFile>
Aliases [-x, -export] The full path and file name to export the contents retrieved from the call to Get-HPOVLogicalInterconnectGroup.
Aliases | None. |
Required? | false |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
System.Array A Logical Interconnect Group or collection of Logical Interconnect Groups.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup
Returns all Logical Interconnect Groups defined on the appliance to standard output.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup "Production"
Returns just the Production Logical Interconnect Group object to standard output.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $myLigs = Get-HPOVLogicalInterconnectGroup
Returns the Get-HPOVLogicalInterconnectGroup query and stores it in the object $myLigs
-------------------------- EXAMPLE 4 --------------------------PS C:\> Get-HPOVLogicalInterconnectGroup -exportFile "c:\myApplianceConfig\LogicaICGs.json"
Returns the Get-HPOVLogicalInterconnectGroup query results to the file c:\myApplianceConfig\LogicaICGs.json
- [Send-HPOVRequest] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Send-HPOVRequest)
- [New-HPOVLogicalInterconnectGroup] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVLogicalInterconnectGroup)
- [Get-HPOVLogicalInterconnect] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVLogicalInterconnect)