Tag Archives: dbnull

PowerShell: There are null values and then there are SQL null values

I was reading some data out of a SQL Server table, and wanted to do an operation if one of the string values returned, MAC, was either blank or null. I was using the following code: $NewServerName = “SomeServerName” $DBServerName … Continue reading

Rate this:

Posted in PowerShell, Scripting | Tagged , , , , , , , | 2 Comments