< Back

Set-OAOServerStatus

Sat Jan 18, 2020 6:03 pm

NAME Set-OAOServerStatus



SYNTAX

Set-OAOServerStatus [-ServerId] <string> [-Action] {POWER_ON | POWER_OFF | REBOOT} [-Method] {SOFTWARE | HARDWARE}

[<CommonParameters>]





PARAMETERS

-Action <ServerAction>

Action POWER_ON = 0,POWER_OFF = 1,REBOOT = 2



Required? true

Position? 1

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Method <ServerActionMethod>

Method can be either SOFTWARE = 0,HARDWARE = 1



Required? true

Position? 2

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-ServerId <string>

Server Id



Required? true

Position? 0

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String

OneAndOne.POCO.ServerAction

OneAndOne.POCO.ServerActionMethod





OUTPUTS

OneAndOne.POCO.Response.Servers.ServerResponse





ALIASES

None





REMARKS

None