Invoke-ASPackageFeedDownload

AdminStudio 2021 R2 | 22.0 | AdminStudio PowerShell Cmdlets

Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition

The Invoke-ASPackageFeedDownload cmdlet helps you to download the setup file using the parameter FileName from the Package Feed Module.

Examples

Invoke-ASPackageFeedDownload -PackageFeedId '38' -FileName 'SetupDWGTrueView2013_64bit.exe' -MD5Checksum 'd35274affa92456b0f0d1f8914856fba'

Parameters

The Invoke-ASPackageFeedDownload has the following parameters:

Invoice-ASPackageFeedDownload Parameters

Parameter

Description

PackageFeedId

Enter the PackageFeedId to identify the package you want to download.

Note:The PackageFeedId is the returned value of Invoke-ASPackageFeedSearch

FileName

Enter the File name returned for the package feed ID

Note:The FileName is the returned value of Get-ASPackageFeedDetails

MD5Checksum

It is used to match the MD5 value of the package which is downloaded from Package Feed Module. This is a mandatory parameter.

DownloadPackageFeedIcon

Yes - If you choose this option, then icon file will be downloaded along with the package.

No - If you choose this option, then icon file will not be downloaded.

Invoke-ASPackageFeedDownload -PackageFeedId '3075' -FileName 'BoxNotesSetup.exe' -MD5Checksum '6ac468f060098782b4559d17772e58b3' -DownloadPackageFeedIcon 'Yes' 

Return Value

A success or failure message is returned.