title: Invoke-Command AsJob parameter set not working
body: <p>I am able to do </p>
  
  <p><code>Invoke-Command -ScriptBlock { Z:\prog.bat }</code> </p>
  
  <p>However, when I do </p>
  
  <p><code>Invoke-Command -ScriptBlock { Z:\prog.bat } -AsJob</code> </p>
  
  <p>I keep getting</p>
  
  <p><code>Invoke-Command : Parameter set cannot be resolved using the specified named parameters.
  At line:1 char:1
  + Invoke-Command -ScriptBlock {  z:\prog.bat } - ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : InvalidArgument: (:) [Invoke-Command], ParameterBindingException
  + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.InvokeCommandCommand</code></p>
  
  <p>My intention is to run Z:\Prog.bat in the background since I will be executing this thru Ansible</p>