Add HPOVServer - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Add-HPOVServer

Import a physical server.

SYNTAX

Add-HPOVServer [-Hostname] <String> [-Username] <String> [-Password] <Object>[ [-Credential] <PSCredential>] [-LicensingIntent] <String>[ [-Scope] <Array>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [-WhatIf] <>[ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Add-HPOVServer [-Hostname] <String>[ [-Monitored] <SwitchParameter>] [-Username] <String> [-Password] <Object>[ [-Credential] <PSCredential>][ [-Scope] <Array>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [-WhatIf] <>[ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Import a physical server. This cmdlet is not used to add a Blade Server to the appliance, only supported DL Gen 8/9 servers. A BL server will automatically be discovered once it inserted into an enclosure being managed by the appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

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

Aliases None
Required? true
Position? named
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>

When attempting to add a Server to the appliance, the appliance will validate the target Server is not already claimed. If it is, this parameter is used when the server has been claimed by another appliance to bypass the confirmation prompt, and force add the server resource.

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? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Hostname <String>

Hostname of the server"s iLO, either IP Address or FQDN.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LicensingIntent <String>

Specifies whether the intent is to apply either OneView or OneView w/o iLO licenses to the server being imported. This is only required when the -Monitored paraemter switch is not provided. If you include the -Monitored switch, LicenseIntent is not required and should not be provided.

Accepted values are

* OneView
* OneViewNoiLO
Aliases None
Required? true
Position? named
Default value OneView
Accept pipeline input? false
Accept wildcard characters?    False

-Monitored <SwitchParameter>

Add the specified server for monitor only management. You can view hardware for inventory and status information only. Omitting this parameter, you can apply configurations, deploy server profiles, monitor operation status, collect statistics, and alert users to specific conditions.

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

-Password <Object>

Account password of the iLO specified. Can be String or SecureString.

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

-Scope <Array>

Provide an array of <HPOneView.Appliance.ScopeResource> Scope resource(s) to initially add.

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

-Username <String>

Administrator account of the target iLO.

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

-WhatIf <>

Aliases wi
Required?
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]

Returns an async task resource to monitor.

Examples

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

Add-HPOVServer -hostname serverilo.contoso.com -username Administrator -password password -licenseintent OneView

Add serverilo.contoso.com to the appliance, with the OneView license.

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

Add-HPOVServer serverilo2.contoso.com Administrator password -monitored

Add serverilo2.contoso.com to the appliance as a monitored only device.

Related Links


Top

HPE OneView 4.00 Library

Add-HPOVServer

Import a physical server.

SYNTAX

Add-HPOVServer [-Hostname] <String> [-Username] <String> [-Password] <Object>[ [-Credential] <PSCredential>] [-LicensingIntent] <String>[ [-Scope] <Array>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Add-HPOVServer [-Hostname] <String>[ [-Monitored] <SwitchParameter>] [-Username] <String> [-Password] <Object>[ [-Credential] <PSCredential>][ [-Scope] <Array>][ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Import a physical server. This cmdlet is not used to add a Blade Server to the appliance, only supported DL Gen 8/9 servers. A BL server will automatically be discovered once it inserted into an enclosure being managed by the appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

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

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

Aliases None
Required? true
Position? named
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>

When attempting to add a Server to the appliance, the appliance will validate the target Server is not already claimed. If it is, this parameter is used when the server has been claimed by another appliance to bypass the confirmation prompt, and force add the server resource.

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? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Hostname <String>

Hostname of the server's iLO, either IP Address or FQDN.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-LicensingIntent <String>

Specifies whether the intent is to apply either OneView or OneView w/o iLO licenses to the server being imported. This is only required when the -Monitored paraemter switch is not provided. If you include the -Monitored switch, LicenseIntent is not required and should not be provided.

Accepted values are

* OneView
* OneViewNoiLO
Aliases None
Required? true
Position? named
Default value OneView
Accept pipeline input? false
Accept wildcard characters?    False

-Monitored <SwitchParameter>

Add the specified server for monitor only management. You can view hardware for inventory and status information only. Omitting this parameter, you can apply configurations, deploy server profiles, monitor operation status, collect statistics, and alert users to specific conditions.

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

-Password <Object>

Account password of the iLO specified. Can be String or SecureString.

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

-Scope <Array>

Provide an array of <HPOneView.Appliance.ScopeResource> Scope resource(s) to initially add.

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

-Username <String>

Administrator account of the target iLO.

Aliases None
Required? true
Position? named
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]

Returns an async task resource to monitor.

Examples

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

Add-HPOVServer -hostname serverilo.contoso.com -username Administrator -password password -licenseintent OneView

Add serverilo.contoso.com to the appliance, with the OneView license.

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

Add-HPOVServer serverilo2.contoso.com Administrator password -monitored

Add serverilo2.contoso.com to the appliance as a monitored only device.

Related Links


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