title: How to create wmic powershell script
body: <p>I am very new to powershell commands and I am trying to move towards being able to create simple scripts. For example, I am working on a script that will run the following commands in order:</p>
  
  <p>Command 1: wmic</p>
  
  <p>Command 2: product where name="Cloud Workspace Client" call uninstall /nointeractive</p>
  
  <p>The second command is dependent on the first command being run first. However, I'm not sure how to implement a script that will successfully do this. I only know the individual commands, but not how to string them together.</p>
  
  <p>Any help, suggestions, or links to resources would be greatly appreciated!</p>