Alternatively  if https://github.com/rapid7/metasploit-framework/pull/2544 and https://github.com/rapid7/metasploit-framework/pull/2320 get merged in VBS would be more efficient