Attached is the script which will download the license file to local PC from chassis.
NOTE: In the script it sets "-DstDir" to "C:\\License", (THIS DIRECTORY MUST EXIST, before LicenseUploadFilecommand is executed).