Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Retrieves one or more network resources (Ethernet, Fibre Channel, or FCoE) from the connected HPE OneView appliance.Syntax
Description
Get-OVNetwork queries the HPE OneView appliance for network resources. When no parameters are specified, the cmdlet returns all Ethernet, Fibre Channel, and FCoE networks visible within the current scope. You can narrow results by name, type, purpose, or label.
Wildcard characters are supported in the -Name parameter.
Parameters
The name of the network resource to retrieve. Supports wildcard characters (
*, ?). When omitted, all networks are returned.Filter results to a specific network type. Accepted values:
EthernetFC/FibreChannelFCOEROCE
Filter Ethernet networks by their configured purpose. Accepted values:
GeneralManagementVMMigrationFaultToleranceISCSI
Filter results by a resource label assigned to the network.
Filter results to resources that belong to the specified scope. Defaults to
AllResourcesInScope.The appliance connection object or name. Defaults to the default connected session (
${Global:ConnectedSessions}).Path to a JSON file where the retrieved network objects will be exported.
Examples
Return all networks
Return all Ethernet networks
Return a specific network by name
Use a wildcard to list networks with a common prefix
Filter Ethernet networks by purpose
Retrieve networks and pass them to another cmdlet
Output
HPEOneView.Networking.EthernetNetwork, HPEOneView.Networking.FibreChannelNetwork, or HPEOneView.Networking.FCoENetwork objects depending on network type.