title: Check GPU PowerShell
body: <p>My PowerShell Script Optimizing Graphics Cards
  So When i call GPU Tweaker it gives this error
  the term &quot;GpuTweaker&quot; is not recognized as the name of a cmdlet function script file or operable program
  can some one edit my code ?</p>
  <pre><code>$GPU = (Get-WmiObject Win32_VideoController).Name
  Function GPUTweaker{
      If ($GPU -like &quot;*NVIDIA*&quot;) {
          &lt;FunctionName&gt;
      }
  
      If ($GPU -like &quot;*AMD*&quot;) {
          &lt;FunctionName&gt;
      }
  
      If ($GPU -like &quot;*Intel*&quot;) {
          &lt;FunctionName&gt;
      }
  }
  </code></pre>