def METHOD_NAME(self, distribution, **kwargs):
    # Need to wrap the test_command in our PowerShell encoded wrapper. This is done to align the command input to a
    # common shell and to allow the psrp connection plugin to report the correct exit code without manually setting
    # $LASTEXITCODE for just that plugin.
    test_command = self._task.args.get('test_command', self.DEFAULT_TEST_COMMAND)
    kwargs['test_command'] = self._connection._shell._encode_script(test_command)
    super(ActionModule, self).METHOD_NAME(distribution, **kwargs)