如何从 Get-AzureAutomationJobOutput 获取下一页

How to get the next page from Get-AzureAutomationJobOutput

我正在使用此代码获取作业输出消息:

$jobOutput = Get-AzureAutomationJobOutput -AutomationAccountName $AutomationAccountName -Id $RunbookJobId -Stream "Any" -verbose

它只 returns 前 100 条消息。

如何获取接下来的 100 条消息?

我可以只增加页面大小吗?

我宁愿不获取最后一个对象的时间戳并将其添加 1ms 并将其用作新的 -StartTime。因为可能有多个消息具有相同的时间戳。 我也宁愿不必这样做并检查重复项。

这是 Azure 自动化 cmdlet 中的错误。我们目前不允许您通过 cmdlet 选择页面大小,或指定要检索的页面 #。我们有待修复的积压工作,但现在还没有预计到达时间。