-
Notifications
You must be signed in to change notification settings - Fork 52
Add HPOVPowerDevice
Import a power device.
Add-HPOVPowerDevice [-Hostname] <String> [-Username] <String> [-Password] <String> [-ApplianceConnection] <Object>[ [-Force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Import a power device (iPDU) to be managed by an HPE OneView appliance.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | 3 |
Default value | (${Global:ConnectedSessions} | ? Default) |
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 |
-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>
Account password of the iPDU specified.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Administrator account of the target iPDU.
Aliases | None |
Required? | true |
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)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Async Task resource to monitor progress.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVPowerDevice ipdu24.example.com admin password
Add the iPDU to the appliance.
- [Get-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVPowerDevice)
- [Remove-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVPowerDevice)
- [Wait-HPOVTaskComplete] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Wait-HPOVTaskComplete)
### HPE OneView 2.00 Library
Import a power device.
Add-HPOVPowerDevice [-Hostname] <String> [-Username] <String> [-Password] <String>[ [-Force] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Import a power device (iPDU) to be managed by an HPE OneView appliance.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
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 |
-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>
Account password of the iPDU specified.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Username <String>
Administrator account of the target iPDU.
Aliases | None |
Required? | true |
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)
None. You cannot pipe objects to this Cmdlet.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Async Task resource to monitor progress.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVPowerDevice ipdu24.example.com admin password -ApplianceConnection MyAppliance.example.com
Add the iPDU to the appliance.
- [Get-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVPowerDevice)
- [Remove-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVPowerDevice)
- [Wait-HPOVTaskComplete] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Wait-HPOVTaskComplete)
### HPE OneView 1.20 Library
Import a power device.
Add-HPOVPowerDevice [-hostname] <hostname> [-username] <username> [-password] <password>[ [-force] <force>] [<CommonParameters>]
Import a power device (iPDU)
-hostname <hostname>
REQUIRED. Hostname of the server's iLO, either IP Address or FQDN.
Aliases | None. |
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-username <username>
REQUIRED. Administrator account of the target iLO.
Aliases | None. |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-password <password>
REQUIRED. Account password of the iLO specified.
Aliases | None. |
Required? | true |
Position? | 3 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-force <force>
OPTIONAL. Force the import of the server when currently managed by another OneView appliance.
Aliases | None. |
Required? | false |
Position? | named |
Default value | False |
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.
System.Management.Automation.PSCustomObject Async Task resource to monitor progress.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Add-HPOVPowerDevice ipdu24.example.com admin password
Add the iPDU to the appliance.
- [Get-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVPowerDevice)
- [Remove-HPOVPowerDevice] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVPowerDevice)
- [Wait-HPOVTaskComplete] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Wait-HPOVTaskComplete)