title: Checking with VBScript if server has all critical updates installed -- managed by WSUS
body: <p>I am developing a script that gets deployed and executed on a server (so it is as if I am running it locally and not remote). </p>
  
  <p>I need to check to see if all critical updates are installed. Each server has a WSUS server managing its updates. Is there a way for me to do this with VBScript.</p>
  
  <p>I was looking at this post,
  <a href="https://stackoverflow.com/questions/3179914/windows-update-check-with-vbscript">Windows Update Check with vbscript</a></p>
  
  <p>but I don't know if it will help me since I'm not too familiar with how windows update works, but I only need critical updates. </p>
  
  <p>If I follow the method that the selected answer in the post I linked, will</p>
  
  <p><code>CreateObject("Microsoft.Update.Session")</code> </p>
  
  <p>work if WSUS is managing updates? What do I use to only grab updates that WSUS deems critical? </p>