Skip to content

Wait-OVApplianceStart

Syntax

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

Description

Internal module helper function to wait for the appliance services to start. This helper function will be called by Send-OVRequest 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.

Examples

Example 1

Wait-OVApplianceStart -Appliance appliance.contoso.com

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

Parameters

-Hostname <String>

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

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

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