Skip to content

Get-EAISdtInstance

Terminal window
Get-EAISdtInstance -ScheduleId <string> [-StartTime <datetime>] [-EndTime <datetime>]
[<CommonParameters>]
Terminal window
Get-EAISdtInstance -InstanceId <string> [<CommonParameters>]

Get-EAISdtInstance lists downtime instances for a schedule within a time range, or retrieves a single instance by ID.

Terminal window
Get-EAISdtInstance -ScheduleId '97038d1b-648a-4718-b287-33726ed49624'
Terminal window
Get-EAISdt -Id $id | Get-EAISdtInstance
Terminal window
$instances = Get-EAISdt -Id $id | Get-EAISdtInstance -EndTime (Get-Date).ToUniversalTime().AddDays(30)
$instances | Format-Table instanceId, startTime, endTime, status
Terminal window
Get-EAISdtInstance -InstanceId '97038d1b-648a-4718-b287-33726ed49624:2026-07-22T16:00:00.000Z'

Exclusive range end. Defaults to seven days after StartTime when omitted.

Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: BySchedule
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Instance ID in the format scheduleId:isoStartTime.

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

Schedule ID (UUID). Required for the BySchedule parameter set unless piping an Edwin.SDT object.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Id
ParameterSets:
- Name: BySchedule
Position: Named
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Inclusive range start. Defaults to the current UTC time when omitted.

Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: BySchedule
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.