Skip to content

Set-OVServerPower

Syntax

Set-OVServerPower
    [-Server] <Object>
    [-State] <String>
    [-powerControl] <String>
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

This Cmdlet is now deprecated. Please use the Start-OVServer, Stop-OVServer or Restart-OVServer Cmdlets.

Examples

Parameters

-Server <Object>

The server object, URI or Name, or can be a Server Profile object.

Aliases name, uri, serverUri
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-State <String>

Optional power state. Default is On, other option is Off

Aliases PowerState
Required? True
Position? Named
Default value On
Accept pipeline input? false
Accept wildcard characters? False

-PowerControl <String>

Optional setting to control the virtual power button.

Aliases None
Required? True
Position? Named
Default value MomentaryPress
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

The name of the appliance or list of appliances to execute the command against.

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? False

-WhatIf <SwitchParameter>

Aliases wi
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Aliases cf
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

Return Values

None