the code below is part real and part what I want to happen so it's not that accurate: create a folder called "Chrome Version " and store it there. If I do, then I can delete what I just downloaded. Then -each time after the first time that I download it- I need to be able to parse through my directories to see if I already have that version number. then I need to create a folder called "Chrome Version " where is a variable that corresponds to the version number I found. I now need to some how get the version number of the. This is my code thus far I just created it! DownloadFile ( $Link, "$TempDirectory\Chrome.msi" ) Powershell $Link = '' $TempDirectory = "$ENV:Temp\Chrome" New-Item -ItemType Directory "$TempDirectory" -Force | Out-Null ( New-Object System.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |