1) Ability to provide a -All switch to Get-IntuneDataWarehouseCollection which will result in automatically paging all of the data from the collection.
2) When -Top is larger than the server page size, it will page in the rest of the data until the Top amount is received
3) Added documentation on how to convert and save the data received by this cmdlet into a CSV file
4) Removed exception handling as it makes assumptions about the exceptions caught which can lead to a new exception, hiding the original. The exception details it was trying to write to the console are always available using the PowerShell $errors array. We can consider altering exception handling if we get feedback about confusing errors.
This pull request adds a few things:
1) Ability to provide a -All switch to Get-IntuneDataWarehouseCollection which will result in automatically paging all of the data from the collection.
2) When -Top is larger than the server page size, it will page in the rest of the data until the Top amount is received
3) Added documentation on how to convert and save the data received by this cmdlet into a CSV file
4) Removed exception handling as it makes assumptions about the exceptions caught which can lead to a new exception, hiding the original. The exception details it was trying to write to the console are always available using the PowerShell $errors array. We can consider altering exception handling if we get feedback about confusing errors.