concept DataReaders in category powershell
appears as: DataReaders

This is an excerpt from Manning's book PowerShell in Depth, Second Edition.
DataReaders are a slightly more procedural way of getting to data. You’ll start with the same connection (in $connection for this example) and SQL query (in $query). Again, make sure the connection is opened first: