parameters: (self)
docstring: :return: None.
docstring_summary: :return: None.
docstring_tokens: : return : None .
function: def execute(self) -> None:
          """:return: None."""
          if not self.is_windows() or self.expansions.get("ec2_ssh_failure", ""):
              return
  
          event_logpath = powercycle_constants.EVENT_LOGPATH
          cmds = f"mkdir -p {event_logpath}"
          cmds = f"{cmds}; wevtutil qe Application /c:10000 /rd:true /f:Text > {event_logpath}/application.log"
          cmds = f"{cmds}; wevtutil qe Security    /c:10000 /rd:true /f:Text > {event_logpath}/security.log"
          cmds = f"{cmds}; wevtutil qe System      /c:10000 /rd:true /f:Text > {event_logpath}/system.log"
  
          self.remote_op.operation(SSHOperation.SHELL, cmds, None)
function_tokens: def execute ( self ) -> None : if not self . is_windows ( ) or self . expansions . get ( "ec2_ssh_failure" , "" ) : return event_logpath = powercycle_constants . EVENT_LOGPATH cmds = f"mkdir -p {event_logpath}" cmds = f"{cmds}; wevtutil qe Application /c:10000 /rd:true /f:Text > {event_logpath}/application.log" cmds = f"{cmds}; wevtutil qe Security    /c:10000 /rd:true /f:Text > {event_logpath}/security.log" cmds = f"{cmds}; wevtutil qe System      /c:10000 /rd:true /f:Text > {event_logpath}/system.log" self . remote_op . operation ( SSHOperation . SHELL , cmds , None )