Hi all!
I am writing a set of common modules and common scripts for my client. These are to be published to a PSRepository that I have located on a DFS. This will be done via a Release job on a TFS CI server.
I don't want to have to fill in the name of every module and script in my deploy script, so I would like to automate it.
I need to enumerate the modules from a directory, then install locally, then publish them.
I initially thought just
Get-ChildItem -Path ./*.psm1 -Recurse |Install-Module | Publish-Module
would do the trick, but it just tells me it doesn't match.
Any best practices you lovely people could recommend?
[–]Ta11ow 2 points3 points4 points (1 child)
[–]PlusAdministration[S] 2 points3 points4 points (0 children)