How to download latest artifact from Artifactory using Powershell script v2.0 or below

Powershell Script for downloading the latest artifcat