PowerShell Script Failing at insert records
can someone please point me where I made a mistake in below PowerShell script? I’m trying to gather SQL Server related info and load the info into an oracle database which is our repository for keeping the environment related info. The script is spitting error that column Server_Name cannot be null during the update/insert (see log) but when I echo the variable it does contain the Server_Name column value. Perhaps my way of doing the data load is wrong or perhaps there is a syntax error somewhere ? Any help would be appreciated.