docs: def _netsh_file(content):
      '''
      helper function to get the results of ``netsh -f content.txt``
  
      Running ``netsh`` will drop you into a ``netsh`` prompt where you can issue
      ``netsh`` commands. You can put a series of commands in an external file and
      run them as if from a ``netsh`` prompt using the ``-f`` switch. That's what
      this function does.
  
      Args:
  
          content (str):
              The contents of the file that will be run by the ``netsh -f``
              command
  
      Returns:
          str: The text returned by the netsh command
      '''
      with tempfile.NamedTemporaryFile(mode='w',
                                       prefix='salt-',
                                       suffix='.netsh',
                                       delete=False) as fp:
          fp.write(content)
      try:
          log.debug('%s:\n%s', fp.name, content)
          return salt.modules.cmdmod.run('netsh -f {0}'.format(fp.name), python_shell=True)
      finally:
          os.remove(fp.name)