Productivity Tools

Tools written by an IT business manager, a passionate developer.

Get binary module FileList

Module prints list of files which can be copied to the psd1 powershell manifest file.

When creating binary module in the FileList section we need to list all files from our bin directory. Even for simple modules, list of libraries is too long to make it manually.

Installation

Install-Module ProductivityTools.GetBinaryModuleFileList

Example

 Get-BinaryModuleList

The code of the module could look a little bit complicated, but it is important not to have comma in after the last element in the FileList.

Close Bitnami banner
Bitnami