title: use psexec.exe in a powershell
body: <p>im trying to use psexec.exe in powershell, but appear connect but do not nothing. Supposedly i call psexec in his route in my computer, with the parameters i usually use in a normal CMD. </p>
  
  <pre><code>C:\c\PsExec.exe \\Hostname.domain.CORP -u domain\admx097168 -p Password cmd -c “c:\temp\hola.vbs”
  </code></pre>
  
  <p>This is the response on the console. </p>
  
  <pre><code>PS C:\Users\x097168&gt; C:\Consola\testmasiveSCCM.ps1
  C:\c\PsExec.exe : 
  En C:\Consola\testmasiveSCCM.ps1: 2 Carácter: 1
  + C:\c\PsExec.exe \\Hostname.domain.CORP -u domain\admx097 ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
  
  PsExec v1.98 - Execute processes remotely
  Copyright (C) 2001-2010 Mark Russinovich
  Sysinternals - www.sysinternals.com
  Microsoft Windows [Versi¢n 10.0.10240]
  (c) 2015 Microsoft Corporation. Todos los derechos reservados.
  </code></pre>
  
  <p>appear still working, but do nothing, will be necessary stopped the scripting to continue.</p>
  
  <p>Anyone can help me? first of all, thank you very much for reading my query.</p>
  
  <p>one last thing, i can't use invoke-command, cause is forbidden in my domain.</p>