Run SQL against multiple Databases with PowerShell
Here is simple fun script I came up with some time ago when I needed to confirm that a user account was locked in all of our non-production databases. This one requires a Windows workstation with the Oracle client installed and PowerShell v3 or newer. It will go through the array of databases and return the SQL result for each database. This can be handy for comparing settings across multiple databases.
Output looks something like this:
Output looks something like this:
Comments
Post a Comment