title: Powershell Chrome close empty tab
body: <p>Due to the fact that I have to boot up a lot of applications and a Chrome browser and I can't just autostart them because it all depends on which network I'm connected to, I'm writing a short PowerShell script. It's basically a bunch of invoke-items and then this thing</p>
  
  <pre><code>$urls = "my.intranet.com", "www.google.com", "www.microsoft.com"
  start "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
  
  Foreach ($url in $urls)
  {
      start $url
  }
  </code></pre>
  
  <p>These aren't the actual URLs, but you get the picture.</p>
  
  <p>Now, whenever I do this, I get one extra tab in Chrome. It's the default empty tab of Chrome. While not hugely annoying, it's pretty ugly.</p>
  
  <p>How do I tell my Powershell to close an empty tab labelled "New Tab" in Chrome?</p>