Add HPOVPowerDevice - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Add-HPOVPowerDevice

Import a power device.

SYNTAX

Add-HPOVPowerDevice [-Hostname] <String>[ [-Username] <String>][ [-Password] <String>][ [-Credential] <PSCredential>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-TrustLeafCertificate] <SwitchParameter>][ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Import a power device (iPDU) to be managed by an HPE OneView appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? 4
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Confirm <SwitchParameter>

Aliases cf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Credential <PSCredential>

Use this parameter if you want to provide a PSCredential object instead.

Aliases None
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Force <SwitchParameter>

Force the import of the iPDU when currently managed by another HPE OneView appliance.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Hostname <String>

Hostname of the iPDU, either IP Address or FQDN.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Password <String>

Warning: This parameter is being deprecated. Please transition to the -Credential parameter.

Account password of the iPDU specified.

Aliases None
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-TrustLeafCertificate <SwitchParameter>

If the iPDU SSL certificate is not trusted, use this Cmdlet to add the certificate to the appliance trust store.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Username <String>

Warning: This parameter is being deprecated. Please transition to the -Credential parameter.

Administrator account of the target iPDU.

Aliases None
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-WhatIf <SwitchParameter>

Aliases wi
Required? false
Position? named
Default value
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async Task resource to monitor progress.

Examples

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

Add-HPOVPowerDevice ipdu24.example.com admin password

Add the iPDU to the appliance.

Related Links


Top

HPE OneView 4.00 Library

Add-HPOVPowerDevice

Import a power device.

SYNTAX

Add-HPOVPowerDevice [-Hostname] <String>[ [-Username] <String>][ [-Password] <String>][ [-Credential] <PSCredential>][ [-ApplianceConnection] <Object>][ [-Async] <SwitchParameter>][ [-TrustLeafCertificate] <SwitchParameter>][ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Import a power device (iPDU) to be managed by an HPE OneView appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? 4
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Confirm <SwitchParameter>

Aliases cf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Credential <PSCredential>

Use this parameter if you want to provide a PSCredential object instead.

Aliases None
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Force <SwitchParameter>

Force the import of the iPDU when currently managed by another HPE OneView appliance.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Hostname <String>

Hostname of the iPDU, either IP Address or FQDN.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Password <String>

Warning: This parameter is being deprecated. Please transition to the -Credential parameter.

Account password of the iPDU specified.

Aliases None
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-TrustLeafCertificate <SwitchParameter>

If the iPDU SSL certificate is not trusted, use this Cmdlet to add the certificate to the appliance trust store.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Username <String>

Warning: This parameter is being deprecated. Please transition to the -Credential parameter.

Administrator account of the target iPDU.

Aliases None
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-WhatIf <SwitchParameter>

Aliases wi
Required? false
Position? named
Default value
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async Task resource to monitor progress.

Examples

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

Add-HPOVPowerDevice ipdu24.example.com admin password

Add the iPDU to the appliance.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️