Skip to content

list packages

Will Strohl edited this page Mar 29, 2022 · 2 revisions

list-packages

When used, this command will iterate through the /App-Data/ExtensionPackages/ folder in your DNN instance and list them all in alphabetical order.

Newer versions of DNN saves any installed extension into the /App_Data/ExtensionPackages/ folder. This is meant to be used with the site import/export feature.

These files are saved every time you install/upgrade extensions either as part of your normal deployment routines and DNN upgrades (assuming that best practices for code deployments are being followed).

Running this command allows you to either inspect those files, or otherwise get a feel for what has been saved, to help you make other decisions in your organization.

Command

Command Description
list-packages Presents an alphabetical listing of the packages in the /App_Data/ExtensionPackages/ folder..

Arguments

This prompt does not have any flags at this time.

Output

If successful, you'll see a message like below in the Prompt window.

When there are packages found*
(the listing of the files, then...)

Matches were found for your query.  Matches were found for your query. The files/folder queried has approximately 28.42 MB of files.

In the example above, the folder size will be unique to your instance. It will likely be a much larger number in most cases.

When there are NO packages found*

No matches were found for your query.  

If an error occurs, it should be displayed to you in the Prompt window. If not, you'll find it in the Log4net log files.

Additional Notes

None at this time.

Clone this wiki locally