Skip to content

Latest commit

 

History

History
151 lines (115 loc) · 3.63 KB

Update-OMEConfiguration.md

File metadata and controls

151 lines (115 loc) · 3.63 KB
external help file Module Name online version schema
DellOpenManage-help.xml
DellOpenManage
2.0.0

Update-OMEConfiguration

SYNOPSIS

Update configuration on devices in OpenManage Enterprise

SYNTAX

Update-OMEConfiguration [[-Name] <String>] [[-DeviceFilter] <Device[]>] [-Baseline] <ConfigurationBaseline>
 [[-UpdateSchedule] <String>] [-Wait] [[-WaitTime] <Int32>] [<CommonParameters>]

DESCRIPTION

This will use an existing configuration baseline to submit a Job that updates configuration on a set of devices immediately. This will force a reboot if necessary

EXAMPLES

EXAMPLE 1

Update-OMEConfiguration -Name "Make Compliant Test01" -Baseline $("TestBaseline01" | Get-OMEConfigurationBaseline) -Wait -Verbose

Update configuration compliance on all devices in baseline This will force a reboot if necessary

EXAMPLE 2

Update-OMEConfiguration -Name "Make Compliant Test01" -Baseline $("TestBaseline01" | Get-OMEConfigurationBaseline) -DeviceFilter $("C86CZZZ" | Get-OMEDevice -FilterBy "ServiceTag") -Wait -Verbose

Update configuration compliance on filtered devices in baseline This will force a reboot if necessary

EXAMPLE 3

Update-OMEConfiguration -Name "Make Compliant Test01" -Baseline $("TestBaseline01" | Get-OMEConfigurationBaseline) -DeviceFilter $("C86CZZZ" | Get-OMEDevice -FilterBy "ServiceTag") -UpdateSchedule "StageForNextReboot" -Wait -Verbose

Update configuration compliance on filtered devices in baseline staging changes for next reboot

PARAMETERS

-Name

Name of the configuration update job

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: "Make Devices Compliant $((Get-Date).ToString('yyyyMMddHHmmss'))"
Accept pipeline input: False
Accept wildcard characters: False

-DeviceFilter

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: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Baseline

Array of type ConfigurationBaseline returned from Get-OMEConfigurationBaseline function

Type: ConfigurationBaseline
Parameter Sets: (All)
Aliases:

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

-UpdateSchedule

Determines when the updates will be performed. (Default="RebootNow", "StageForNextReboot")

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: RebootNow
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: 5
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

None

OUTPUTS

NOTES

RELATED LINKS