NAME

Get-HPOVProfile

SYNOPSIS

Retrieve Server Profile configuration

SYNTAX

Get-HPOVProfile [-name] <String> [<CommonParameters>]

Get-HPOVProfile [[-name] <String>] -export -location <String> [<CommonParameters>]

Get-HPOVProfile [[-name] <String>] -report [<CommonParameters>]

DESCRIPTION

This cmdlet will obtain a collection of Server Profile resources, or a specific Server Profile the specified name. It returns all aspects of the Server Profile.

This will also provide the ability to export Server Profile objects to their own JSON encoded file.  All
appliance unique properties (minus the Server Hardware Type, Enclosure Group, and Connection Network assignment)
are removed.  Connection layout, assigned addresses, networks, bandwidth, BIOS, Boot Order, Firmware settings will all be retained.  Assigned Address types will change from Virtual to UserDefined in order to retain their assignment.

PARAMETERS

-name <String>
The name of the server profile resource to be returned. All server profile resources will be returned if omitted.
Required? false
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters?     false       
-report [<SwitchParameter>]
Display report list of Server Profiles.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?     false       
-export [<SwitchParameter>]

Aliases [-x]

Switch used to export Server Profile object to JSON encoded file.

Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?     false       
-location <String>

Aliases [-save]

Location where to save the Server Profile
Required? true
Position? named 
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 Server Profile: System.Management.Automation.PSCustomObject
Multiple Server Profiles: System.Array
The matching server profile resources.

RELATED LINKS

EXAMPLES

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

PS C:\> $profiles = Get-HPOVProfile
Return all the server profiles managed by the appliance.
-------------------------- EXAMPLE 2 --------------------------

PS C:\> $profile = Get-HPOVProfile "SA"
Return the server profile resource with name "SA".
-------------------------- EXAMPLE 3 --------------------------

PS C:\> Get-HPOVProfile -report

Profile Name   Managing BIOS Managing Firmware Assigned      State
------------   ------------- ----------------- --------      -----
Copy of test 2         False             False Unassigned    Normal
Profile 11              True              True Encl1, bay 11 Normal
Profile 12             False             False Encl1, bay 12 Normal
Profile 13             False             False Encl1, bay 13 Normal
Profile 14             False             False Encl1, bay 14 Normal
Profile 15             False             False Encl1, bay 15 Normal
Profile 16             False             False Encl1, bay 16 Normal
Test 1                 False             False Unassigned    Normal
test 2                 False             False Encl1, bay 3  Normal
test 3                 False             False Unassigned    Normal
Generate a report of all server profiles.
-------------------------- EXAMPLE 4 --------------------------

PS C:\> get-hpovprofile -name 'test 1' -report

Profile Name   Managing BIOS Managing Firmware Assigned      State
------------   ------------- ----------------- --------      -----
Test 1                 False             False Unassigned    Normal
Generate a report of a specific server profile.
-------------------------- EXAMPLE 5 --------------------------

PS C:\> Get-HPOVProfile -export -location c:\profiles
Save all Server Profile objects to their own backup file to C:\profiles.
-------------------------- EXAMPLE 6 --------------------------

PS C:\> Get-HPOVProfile -name Profile1 -export -location c:\profiles
Save Profile1 Server Profile object to its own backup file in C:\profiles.

Last edited Feb 20, 2014 at 10:32 PM by ChrisLynchHP, version 4