Home Forums Programming Powershell Extract output from central management servers into a table RE: Extract output from central management servers into a table

  • Hi everyone. jrv found the solution to this one.

    Changing the query to insert the values solved the problem.

    $sql = "insert into STG_Results(ServerName,NodeName) VALUES('{0}','{1}')" -f $node.ServerName, $node.NodeName

    Thanks again for your input.

    Howard