Skip to content

Latest commit

 

History

History
103 lines (78 loc) · 1.99 KB

Set-OMEPowerState.md

File metadata and controls

103 lines (78 loc) · 1.99 KB
external help file Module Name online version schema
DellOpenManage-help.xml
DellOpenManage
2.0.0

Set-OMEPowerState

SYNOPSIS

Set power state of server

SYNTAX

Set-OMEPowerState [-Devices] <Device[]> [-State] <String> [-Wait] [[-WaitTime] <Int32>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Set-OMEPowerState -State "On" -Devices $("37KP0ZZ" | Get-OMEDevice -FilterBy "ServiceTag")

PARAMETERS

-Devices

Array of type Device returned from Get-OMEDevice function. Used to limit the devices updated within the baseline.

Type: Device[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-State

String to represent the desired power state of device. ("On", "Off", "ColdBoot", "WarmBoot", "ShutDown")

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Wait

Wait for job to complete

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WaitTime

Time, in seconds, to wait for the job to complete

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 3600
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Device[]

OUTPUTS

NOTES

RELATED LINKS