NOTE: there is also a commandlet called "Read-SasData" available to query SAS datasets at https://sourceforge.net/p/cmdlets4sas/