<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _windows_iqn():
    '''
    Return iSCSI IQN from a Windows host.
    '''
    ret = []

    wmic = salt.utils.path.which('wmic')

    if not wmic:
        return ret

    namespace = r'\\root\WMI'
    path = 'MSiSCSIInitiator_MethodClass'
    get = 'iSCSINodeName'

    cmd_ret = salt.modules.cmdmod.run_all(
        '{0} /namespace:{1} path {2} get {3} /format:table'
        ''.format(wmic, namespace, path, get))

    for line in cmd_ret['stdout'].splitlines():
        if line.startswith('iqn.'):
            line = line.rstrip()
            ret.append(line.rstrip())

    return ret