The executenonquery method of the sqlcommand class returns an int value of the number of rows affected. You could pipe the results of that command to out-null to eliminate this output. Just add | out-null after the executenonquery command.
The executenonquery method of the sqlcommand class returns an int value of the number of rows affected. You could pipe the results of that command to out-null to eliminate this output. Just add | out-null after the executenonquery command.