This must be the folder that contains all the versions of a package, not any subfolder, as it will run through all of the subfolders.
It retrieves the package name by going to the first item within the directory (Publisher.Package.Version.installer.yaml), removes the installer.yaml and replaces the . with .
This is what a pull request made with Recurse.ps1 looks like:
This is my first PowerShell script so there will be improvements as I learn; I'll make PRs when necessary :)
This pull request adds a script that recursively runs Add-ARPEntries.ps1 for a directory.
It has one mandatory parameter which is the directory to recurse through:
This must be the folder that contains all the versions of a package, not any subfolder, as it will run through all of the subfolders.
It retrieves the package name by going to the first item within the directory (Publisher.Package.Version.installer.yaml), removes the
.
installer.yaml
and replaces the.
withThis is what a pull request made with Recurse.ps1 looks like:
This is my first PowerShell script so there will be improvements as I learn; I'll make PRs when necessary :)