PowerShell: Image-downloader

 

Wget in Nix world is well knows, it is really convenient to download files to your local path.

Today, when I am considering using another tool in Windows World to download the file from the normalized URL, I also found a tool called “system.net.webclient”. It is quite useful but to my option not as sharp as wget though:

Three implementations were carried out:

1.Download the file

2.Unzip the file to specified directory

3.Convert ova file format to ovf

4. Learn to introduce an indirect variable to import the one of array value to it each time

It will really save me a lot of time when doing testing and deploy OVF to Vcenter server:

Now I will share with you my labor, to some extent, hope it will be helpful for you 🙂

 

To be continued…

Leave a Reply

Your email address will not be published. Required fields are marked *