-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVNetworkSet
Retrieve Network Set resource(s).
Get-HPOVNetworkSet [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>] [-ApplianceConnection] <Object> [<CommonParameters>]
Get-HPOVNetworkSet [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>] [-ApplianceConnection] <Object> [-ExportFile] <String> [<CommonParameters>]
Retrieves a list of all Network Sets or just specific Networks Sets via a query if the name parameter is provided. The Network Set 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).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
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-HPOVNetworkSet.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Label <String>
Specify the label associated with resources.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Name <String>
The name of the Network Set to retrieve.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Scope <Object>
Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:
* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | False |
Position? | named |
Default value | AllResourcesInScope |
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.
HPOneView.Networking.NetworkSet [System.Management.Automation.PSCustomObject]
Single Network Set
System.Collections.ArrayList <HPOneView.Networking.NetworkSet>
Multiple Network Sets
-------------------------- EXAMPLE 1 --------------------------Get-HPOVNetworkSet
Returns all Network Sets defined on the appliance to standard output.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVNetworkSet -Name "Production"
Returns just the Production Network Set object to standard output.
-------------------------- EXAMPLE 3 --------------------------$myNetSets = Get-HPOVNetworkSet
Returns the Get-HPOVNetworkSet query and stores it in the object $myNetSets
-------------------------- EXAMPLE 4 --------------------------Get-HPOVNetworkSet -exportFile "c:\myApplianceConfig\Network-Sets.json"
Returns the Get-HPOVNetworkSet query results to the file c:\myApplianceConfig\Network-Sets.json
Retrieve Network Set resource(s).
Get-HPOVNetworkSet [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>] [-ApplianceConnection] <Object> [<CommonParameters>]
Get-HPOVNetworkSet [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>] [-ApplianceConnection] <Object> [-ExportFile] <String> [<CommonParameters>]
Retrieves a list of all Network Sets or just specific Networks Sets via a query if the name parameter is provided. The Network Set 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).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
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-HPOVNetworkSet.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Label <String>
Specify the label associated with resources.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Name <String>
The name of the Network Set to retrieve.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Scope <Object>
Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:
* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | False |
Position? | named |
Default value | AllResourcesInScope |
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.
HPOneView.Networking.NetworkSet [System.Management.Automation.PSCustomObject]
Single Network Set
System.Collections.ArrayList <HPOneView.Networking.NetworkSet>
Multiple Network Sets
-------------------------- EXAMPLE 1 --------------------------Get-HPOVNetworkSet
Returns all Network Sets defined on the appliance to standard output.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVNetworkSet -Name "Production"
Returns just the Production Network Set object to standard output.
-------------------------- EXAMPLE 3 --------------------------$myNetSets = Get-HPOVNetworkSet
Returns the Get-HPOVNetworkSet query and stores it in the object $myNetSets
-------------------------- EXAMPLE 4 --------------------------Get-HPOVNetworkSet -exportFile "c:\myApplianceConfig\Network-Sets.json"
Returns the Get-HPOVNetworkSet query results to the file c:\myApplianceConfig\Network-Sets.json