Sorry for the newbie question on both powershell and PostgreSQL. On my Windows Server 2008 R2, I would like to execute a script that would do a simple select against one of my tables. This script is supposed to run once a week, but i was going to handle the scheduling through Windows Task Scheduler. I just cant figure out how to connect to the databse via powershell and pull the data i need. This server is a Production system, so installing applications and etc is highly not recommended.
Any help would be greatly appreciated.