external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Set power state of server
Set-OMEPowerState [-Devices] <Device[]> [-State] <String> [-Wait] [[-WaitTime] <Int32>] [<CommonParameters>]
{{ Fill in the Description }}
Set-OMEPowerState -State "On" -Devices $("37KP0ZZ" | Get-OMEDevice -FilterBy "ServiceTag")
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
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 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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.