title: Powershell csv upload to SQL Server database - how to generate a unique key?
body: <p>I have a Powershell script that generates a <code>.CSV</code> file of computer's WMI information, Then the script uploads it to a SQL Server database.</p>
  
  <p>How can I get the SQL Server database to create a unique key and keep the same primary key on each upload?</p>