Wait HPOVApplianceStart - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Wait-HPOVApplianceStart

Wait for Appliance services to start.

SYNTAX

Wait-HPOVApplianceStart [-Hostname] <String> [<CommonParameters>]

Detailed Description

Internal module helper function to wait for the appliance services to start. This helper function will be called by Send-HPOVRequest when the [System.Net.WebRequest] GetResponse() client generates an [Net.WebException] exception. Then, this function will be called to provide the caller with an indication that the appliance is starting its services. This will display two prompts:

  1. An initial text-based progress bar while the System.Net.WebRequest is able to access the web service on the appliance to begin polling for service startup status.
  2. Write-Progress indicator displaying the overall service startup.

If any service fails to startup, this function will cause a terminating error, informing the caller to go visit the appliance kiosk console to get more information about the startup error.

When the appliance successfully starts, this function will return.

Parameters

-Hostname <String>

Aliases [-Appliance]

Specify the appliance FQDN or IP Address without a valid connection created by using Connect-HPOVMgmt.

Aliases Appliance
Required? true
Position? 0
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

Write-Progress

The Write-Progress cmdlet is used to display the startup progress

Examples

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

Wait-HPOVApplianceStart -Appliance appliance.contoso.com

Wait for the appliance to start, and specify the appliance name.

Related Links


Top

HPE OneView 4.00 Library

Wait-HPOVApplianceStart

Wait for Appliance services to start.

SYNTAX

Wait-HPOVApplianceStart [-Hostname] <String> [<CommonParameters>]

Detailed Description

Internal module helper function to wait for the appliance services to start. This helper function will be called by Send-HPOVRequest when the [System.Net.WebRequest] GetResponse() client generates an [Net.WebException] exception. Then, this function will be called to provide the caller with an indication that the appliance is starting its services. This will display two prompts:

  1. An initial text-based progress bar while the System.Net.WebRequest is able to access the web service on the appliance to begin polling for service startup status.
  2. Write-Progress indicator displaying the overall service startup.

If any service fails to startup, this function will cause a terminating error, informing the caller to go visit the appliance kiosk console to get more information about the startup error.

When the appliance successfully starts, this function will return.

Parameters

-Hostname <String>

Aliases [-Appliance]

Specify the appliance FQDN or IP Address without a valid connection created by using Connect-HPOVMgmt.

Aliases Appliance
Required? true
Position? 0
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

Write-Progress

The Write-Progress cmdlet is used to display the startup progress

Examples

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

Wait-HPOVApplianceStart -Appliance appliance.contoso.com

Wait for the appliance to start, and specify the appliance name.

Related Links


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