NAME

New-HPOVEnclosure

SYNOPSIS

Import an enclosure.

SYNTAX

New-HPOVEnclosure [-hostname] <String> [-enclGroupName] <String> [-username] <String> [-password] <String> [-licensingIntent] <String> [[-fwBaselineIsoFilename] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This cmdlet will import an enclosure for HP OneView management. The Onboard Administrator needs to have at least an IP Address for each OA module, and a valid Administrator account. An Enclosure Group must also be created.

New-HPOVEnclosure will attempt a connection to the XML Reply interface to examine if an existing VC Domain is present. If so, you are prompted if you wish to continue and force import the enclosure.

FORCE IMPORT OF AN ENCLOSURE WILL DELETE ANY EXISTING VC DOMAIN CONFIGURATION, AND NOT PERFORM ANY VC DOMAIN CONFIGURATION MIGRATION. PLEASE BACKUP YOUR VC DOMAIN IF YOU WISH TO RESTORE TO ITS ORIGINAL CONFIGURATION.

PARAMETERS

-hostname <String>

Aliases [-oa]

REQUIRED. Administrator account of the target OA.

Aliases -oa
Required? true
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-enclGroupName <String>

Aliases [-eg]

REQUIRED. Enclosure Group Name to associate with the enclosure to import.

Aliases -eg
Required? true
Position? 2
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-username <String>

Aliases [-u, -user]

REQUIRED. Administrator account of the target OA.

Aliases -u, -user
Required? true
Position? 3
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-password <String>

Aliases [-p, -pw]

REQUIRED. Account password of the OA specified.

Aliases -p, -pw
Required? true
Position? 4
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-licensingIntent <String>

Aliases [-license, -l]

REQUIRED. Specifies whether the intent is to apply either OneView or OneView w/o iLO licenses to the servers in the enclosure being imported.

Accepted values are

  • OneView
  • OneViewNoiLO
Aliases -license, -l
Required? true
Position? 5
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-fwBaselineIsoFilename [<String>]

Aliases [-fwIso]

OPTIONAL. SPP Baseline file name. e.g. SPP2013090_2013_0830_30.iso

Aliases -fwiso
Required? false
Position? 6
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-WhatIf [<SwitchParameter>]
Aliases None
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-Confirm [<SwitchParameter>]
Aliases None
Required? false
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. You cannot pipe objects to this cmdlet.

OUTPUTS

System.ObjectSystem.Management.Automation.PSCustomObject

Async task Resource object for monitoring the enclosure import process.

RELATED LINKS

EXAMPLES

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

PS C:\> New-hpovEnclosure -oa "192.168.1.1" -enclGroupName EG1 -user admin -pass hpinvent -license OneView
   
Add a new enclosure to the appliance, using the EG1 Enclosure Group.
-------------------------- EXAMPLE 2 -------------------------- 

PS C:\> New-hpovEnclosure -oa "192.168.1.1" -enclGroupName EG1 -user admin -pass hpinvent -license OneView -confirm:$false

Add a new enclosure to the appliance, using the EG1 Enclosure Group, and force add the target enclosure.

THIS IS A DISTRUCTIVE PROCESS IF AN EXISTING VC DOMAIN EXISTS.


Last edited Aug 19, 2014 at 12:19 AM by chrislynchhp, version 3