0

I'm using this:

$jobOutput = Get-AzureAutomationJobOutput -AutomationAccountName 'nonprodruntimebuild' -Id '1ca657d5-e9b6-4808-9386-40a88dd04271' -Stream "Any"

to get the job output based on a job Id.

However, it always returns an Object[] with 100 elements. When I look at the history in the Azure portal, I can see there are 143 pages. Each page has 25 messages, so there should be 143*25=3575 messages.

I have tried this with different job Ids, and each time I still only get 100.

Edit: I have tried using New-Object DateTime(2015,01,01) for the StartTime parameter, but I still get 100 messages.

4

1 に答える 1

0

100 はページ サイズ (定数) です。次の 100 件のメッセージを取得するには、-StartTime フラグを使用してより遅い時間を指定する必要があります。

于 2015-04-23T22:42:15.830 に答える