public RemotePowerShellHostOperation(FileInfo scriptFile, PowerShellOptions.PowerShellOptionValues values = null)
 {
     _scriptFile = scriptFile;
     _values = values;
     _commandType = CommandType.ScriptFile;
 }
 public RemotePowerShellHostOperation(string cmd, PowerShellOptions.PowerShellOptionValues values = null)
 {
     _cmd = cmd;
     _values = values;
     _commandType = CommandType.CmdLine;
 }