title: Start CMD.exe from powershell with arguments in a script block?
body: <p>Is this possible?</p>
  
  <p>I've just been trying something simple:</p>
  
  <pre><code>Start-Process -FilePath "C:\Windows\System32\cmd.exe" -verb runas -ArgumentList {echo hello1}
  </code></pre>
  
  <p>CMD starts in admin, but nothing happens after that.</p>
  
  <p>The long story is, when I want to use "Remove-Item" I do not want to use the -Recurse argument because it will throw access denied errors for various reasons. The only way I know how to do it without any prompts is using rmdir inside a command prompt window.</p>
  
  <p>Does anyone know a way to either suppress the prompt without -recurse or how I could start CMD and call rmdir with all its parameters?</p>