Skip to content

Conversation

@baardhermansen
Copy link
Contributor

Used VSCode's Format Document and added a few full stops to console output, so there are several cosmetic changes.
Simplified code for copying source files to destination, by always removing \ at the end of the string (does not cause error if \ is not present).
Changed to filtering left instead of using Where-Object when searching for applications. In environments with high number of applications, this speeds up the search.

baardhermansen and others added 5 commits March 10, 2020 11:10
Simplified from the original. Removed surplus lines. Moved filtering to the left. Reduced number of WMI queries, which seems to have a big impact on speed.
@baardhermansen
Copy link
Contributor Author

For review @JankeSkanke :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant