Add HPOVHypervisorManager - HewlettPackard/POSH-HPEOneView GitHub Wiki

ℹ️ Note: This Wiki is going through a major change, and will be migrated to a new location. If you want to preview this new documentation, please go here.

HPE OneView 4.10 Library

Add-HPOVHypervisorManager

Add new hypervisor manager.

SYNTAX

Add-HPOVHypervisorManager [-Hostname] <String>[ [-Credential] <PSCredential>][ [-DisplayName] <String>][ [-Port] <int>][ [-TrustLeafCertificate] <SwitchParameter>][ [-Scope] <Object>][ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

You can register a new hypervisor manager with HPE OneView by providing the hostname and credentials. The registered hypervisor manager contains preferences, which are used as default hypervisor or cluster settings during hypervisor cluster profile creation. You can modify the hypervisor manager preferences using the edit operation. You can override these values in a hypervisor cluster profile.

A valid hypervisor manager certificate must be added to HPE OneView trust store to be able to successfully communicate with a hypervisor manager.

The user must have an infrastructure administrator privilege to register or update the hypervisor manager resource in HPE OneView. You can assign scopes to the hypervisor manager resource in HPE OneView.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

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

Aliases Appliance
Required? False
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

-Credential <PSCredential>

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

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

-DisplayName <String>

Override display name of the hypervisor manager. By default Hostname will be used.

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

-Hostname <String>

IP or FQDN address of the hypervisor manager.

Aliases Name, ComputerName
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Port <int>

HTTPS port of the target hypervisor manager. Default is 443.

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

-Scope <Object>

Provide an HPOneView.Appliance.ScopeCollection resource object to initially associate with. Resource can also be added to scope using the Add-HPOVResourceToScope Cmdlet.

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

-TrustLeafCertificate <SwitchParameter>

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

Aliases None
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 [Other]

Async Task resource to monitor progress.

Examples

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

Add-HPOVHypervisorManager -Hostname vcenter.domain.local -Credential (Get-Credential -Username [email protected] -Message Password)

Add hypervisor manager by providing prompted PSCredential.

Related Links


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