Set-EAISdtOverride
Syntax
Section titled “Syntax”Replace (Default)
Section titled “Replace (Default)”Set-EAISdtOverride -ScheduleId <string> -Override <Object[]> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Set-EAISdtOverride -ScheduleId <string> -Clear [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”Set-EAISdtOverride replaces the entire overrides list on a schedule. Prefer New-EAISdtOverride and Remove-EAISdtOverride for single-instance changes.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Set-EAISdtOverride -ScheduleId $id -ClearEXAMPLE 2
Section titled “EXAMPLE 2”Set-EAISdtOverride -ScheduleId $id -Override @()EXAMPLE 3
Section titled “EXAMPLE 3”# Replace with a single skip overrideSet-EAISdtOverride -ScheduleId $id -Override @( @{ originalInstanceId = @{ scheduleId = $id startTime = '2026-07-21T16:00:00.000Z' } status = 'SKIPPED' summary = 'bulk skip' })Parameters
Section titled “Parameters”-Clear
Section titled “-Clear”Removes all overrides from the schedule.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: Clear Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Confirm
Section titled “-Confirm”Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- cfParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Override
Section titled “-Override”One or more override objects to store on the schedule. Use with an empty array (@()) or -Clear to remove all overrides.
Type: System.Object[]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Replace Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-PassThru
Section titled “-PassThru”Re-fetches and returns the updated schedule.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-ScheduleId
Section titled “-ScheduleId”Schedule ID (UUID).
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases:- IdParameterSets:- Name: (All) Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-WhatIf
Section titled “-WhatIf”Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- wiParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.