Skip to content

Commit

Permalink
Fix Missing Entries when Paging is used
Browse files Browse the repository at this point in the history
VRA pages start at 0 not at 1 and this issue causes missing entries.
  • Loading branch information
the-mentor committed Jul 4, 2021
1 parent 2c38cd6 commit 957749b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Functions/Public/Invoke-vRARestMethod.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
Invoke-WebRequest @Params
}
else {
$Page = 1
$Page = 0
Do {
$Result = Invoke-RestMethod @Params
Write-Output $Result
Expand Down

0 comments on commit 957749b

Please sign in to comment.