Skip to content

Start-OVServer

Syntax

Start-OVServer
    [-InputObject] <Object>
    [-ApplianceConnection] <Object>
    [-Async]
    [<CommonParameters>]

Description

Start the power state of the server using the virtual power button.

Examples

Example 1

Get-OVServer -Name "Encl1, Bay 1" | Start-OVServer

Power on the specific server device by passing the Server Object via pipeline.

Example 2

Get-OVServer -Name "Encl1, *" | Start-OVServer -Async

Power on the server devices found by passing the Server Object via pipeline, and return the async task immediately.

Example 3

Get-OVServerProfile -Name "MyWebServer 1" | Start-OVServer

Power on the specific server device by passing the Server Profile Object via pipeline.

Parameters

-InputObject <Object>

A Server hardware or Server Profile resource object.

Aliases Server
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
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

-ApplianceConnection <Object>

Specify one [HPEOneView.Appliance.Connection] object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

Server Hardware Resource

Server Profile Resource

Return Values

Async task that tracks the power state change

Multiple Async tasks