NAME

Wait-HPOVApplianceStart

SYNOPSIS

Wait for Appliance services to start.

SYNTAX

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

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

-Appliance [<String>]
Specify the appliance FQDN or IP Address without a valid connection by using Connect-HPOVMgmt exists.
Aliases None
Required? false
Position? 1
Default value $script:HPOneViewAppliance
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).

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

Write-Progress

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

RELATED LINKS

EXAMPLES

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

PS C:\> Wait-HPOVApplianceStart -Appliance appliance.contoso.com
 
Wait for the appliance to start, and specify the appliance name.

Last edited Aug 20, 2014 at 12:16 AM by chrislynchhp, version 3