code: def get_windows_version(run_lambda):
      system_root = os.environ.get("SYSTEMROOT", "C:\\Windows")
      wmic_cmd = os.path.join(system_root, "System32", "Wbem", "wmic")
      findstr_cmd = os.path.join(system_root, "System32", "findstr")
      return run_and_read_all(
          run_lambda,
          "{} os get Caption | {} /v Caption".format(
              wmic_cmd, findstr_cmd
          ),
      )
  
imports: import datetime
  import locale
  import re
  import subprocess
  import sys
  import os
  from collections import namedtuple
label_desc: Use image node_id 17 for calling a global function with example usage: get_windows_version(run_lambda) and returns: run_and_read_all