title: How to script configuring Windows 10 Indexing?
body: <p>Windows Search is built on Windows Index settings (shown below).</p>
  
  <p>I need to make a powershell script (so everyone here can just run the script to get configured), to :</p>
  
  <ul>
  <li>Add appro dir struct to the list of indexed locations</li>
  <li>Set a list of visual studio file types to index file contents</li>
  </ul>
  
  <p>What would such a script look like?</p>
  
  <p><a href="https://i.stack.imgur.com/cz38y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cz38y.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/wwIwm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wwIwm.png" alt="enter image description here"></a></p>