Skip to content

Remove-EAISdtOverride

Terminal window
Remove-EAISdtOverride [[-InputObject] <Object>] [[-InstanceId] <string>] [-WhatIf] [-Confirm]
[<CommonParameters>]

Remove-EAISdtOverride deletes an override and restores the calculated instance behavior.

The DELETE path uses the canonical original instance identity (scheduleId:isoStartTime), not the rescheduled newStartTime. Pipe objects from Get-EAISdtInstance or from a schedule’s overrides array returned by Get-EAISdt.

Terminal window
Remove-EAISdtOverride -InstanceId '97038d1b-648a-4718-b287-33726ed49624:2026-07-22T16:00:00.000Z'
Terminal window
Get-EAISdtInstance -ScheduleId $id | Where-Object { $_.instanceId -like '*2026-07-22T16:00:00.000Z*' } |
Remove-EAISdtOverride
Terminal window
# Remove one stored override (originalInstanceId.startTime may be epoch seconds from the API)
(Get-EAISdt -Id $id).overrides | Select-Object -First 1 | Remove-EAISdtOverride
Terminal window
# Preview removals before deleting orphaned overrides
(Get-EAISdt -Id $id).overrides | Remove-EAISdtOverride -WhatIf

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

An Edwin.SDT.Instance, a schedule override object from Get-EAISdt, or any object with instanceId or originalInstanceId properties.

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Instance ID in the format scheduleId:isoStartTime.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Runs the command in a mode that only reports what would happen without performing the actions.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.