def download_file_powershell(url, target):
    target = os.path.abspath(target)
    ps_cmd = (
        "[System.Net.WebRequest]::DefaultWebProxy.Credentials = "
        "[System.Net.CredentialCache]::DefaultCredentials; "
        "(new-object System.Net.WebClient).DownloadFile(%(url)r, %(target)r)"
        % vars()
    )
    cmd = [
        'powershell',
        '-Command',
        ps_cmd,
    ]
    _clean_check(cmd, target)
Download the file at url to target using Powershell (which will validate
dataset/ETHPy150Open akamai-open/api-kickstart/examples/python/tools/ez_setup.py/download_file_powershell