New-EAISdtOverride
Syntax
Section titled “Syntax”Adjust (Default)
Section titled “Adjust (Default)”New-EAISdtOverride [-InputObject <Object>] [-ScheduleId <string>] [-OriginalStartTime <Object>] [-NewStartTime <Object>] [-NewEndTime <Object>] [-Summary <string>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]New-EAISdtOverride [-InputObject <Object>] [-ScheduleId <string>] [-OriginalStartTime <Object>] [-Skip] [-Summary <string>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”New-EAISdtOverride skips or reschedules one occurrence of a schedule without changing the underlying schedule definition.
Use -Skip to skip an instance. Use -NewStartTime and -NewEndTime to reschedule it.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”$instances = Get-EAISdt -Id $id | Get-EAISdtInstance$instances | Where-Object { $_.instanceId -like '*2026-07-22T16:00:00.000Z*' } | New-EAISdtOverride -Skip -Summary 'Holiday'EXAMPLE 2
Section titled “EXAMPLE 2”$instance = Get-EAISdt -Id $id | Get-EAISdtInstance | Where-Object { $_.instanceId -like '*2026-07-22T16:00:00.000Z*' }$instance | New-EAISdtOverride ` -NewStartTime $instance.originalInstanceId.startTime ` -NewEndTime $instance.originalInstanceId.startTime.AddHours(4)Parameters
Section titled “Parameters”-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: ''-InputObject
Section titled “-InputObject”Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: true ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-NewEndTime
Section titled “-NewEndTime”New end time for an adjusted instance.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Adjust Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-NewStartTime
Section titled “-NewStartTime”New start time for an adjusted instance.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Adjust Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-OriginalStartTime
Section titled “-OriginalStartTime”Canonical original instance start time. Used with -ScheduleId when not piping an instance.
Type: System.ObjectDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-PassThru
Section titled “-PassThru”Re-fetches and returns the parent schedule after the override is added.
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). Optional when piping an Edwin.SDT.Instance object.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''Skips the selected instance.
Type: System.Management.Automation.SwitchParameterDefaultValue: FalseSupportsWildcards: falseAliases: []ParameterSets:- Name: Skip Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Summary
Section titled “-Summary”Optional note stored with the override.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false 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.