NAME

Get-HPOVNetworkSet

SYNOPSIS

Retrieves a list of Network Sets.

SYNTAX

Get-HPOVNetworkSet [[-name] <String>] [[-exportFile] <String>] [<CommonParameters>]

DESCRIPTION

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.

PARAMETERS

-name <String>
The name of the Network Set to retrieve.
Required? false
Position? 1
Default value <none>
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.
Required? false
Position? 2
Default value <none>
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).

INPUTS

None.

OUTPUTS

Single Network Set: System.Management.Automation.PSCustomObject
Multiple Network Sets: System.Array
A Network Set or Network Sets collection object.

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVNetworkSet

Returns all Network Sets defined on the appliance to standard output.

-------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVNetworkSet "Production"

Returns just the Production Network Set object to standard output.

-------------------------- EXAMPLE 3 --------------------------

PS C:\> $myNetSets = Get-HPOVNetworkSet

Returns the Get-HPOVNetworkSet query and stores it in the object $myNetSets

-------------------------- EXAMPLE 4 --------------------------

PS C:\> Get-HPOVNetworkSet -exportFile "c:\myApplianceConfig\Network-Sets.json"

Returns the Get-HPOVNetworkSet query results to the file c:\myApplianceConfig\Network-Sets.json

Last edited Dec 30, 2013 at 5:58 AM by ChrisLynchHP, version 3