Our great sponsors
-
platform-compat
Discontinued Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Some of the reasons for not using Hashtable or other non-generic collection types are outlined here. That's why Microsoft doesn't recommend their usage in new implementations across all of its API documentation.
I tend to just write one function per API I query that has pagination builtin, some APIs just return them as Headers so you can't use Invoke-RestMethod and have to fallback to Invoke-WebRequest. Have a look at the existing ones here: https://github.com/RobinBeismann/PowerShell-Scripts/tree/master/API-Functions