MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
628 stars 282 forks source link

Updated Update-CMApplicationSource #355

Open baardhermansen opened 1 year ago

baardhermansen commented 1 year ago

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.