def download_file_powershell(url, target):
target = os.path.abspath(target)<EOL>cmd = [<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>"<STR_LIT>" % vars(),<EOL>]<EOL>_clean_check(cmd, target)<EOL>
Download the file at url to target using Powershell (which will validate
trust). Raise an exception if the command cannot complete.