![]() ![]() It shows all Packages, Driver Packages, Operating System Images, Operating System Upgrade Packages, Boot Image that potentially can be deleted from MECM or removed from DPs How the results in the script can be interpreted csv with the Package Name, ID, and the Number of DPs it has been distributed to. Then for each identified Application, Package, Driver Package, Operating System Image, Operating System Upgrade Package, Boot Image it will output to. – Not a dependant to another application and not a dependant – Not associated with a Task Sequence, or Task Sequence Disabled It then identifies if the below statements are True $AllApplications = Get-CMApplication | Where-Object # Get all Applications that are not deployed, have no dependant task sequences, no deployment types that depend on this application and not superseded - (can't filter packages like applications) Write-Verbose "Get - applications" -Verbose $groupedPackageContentCount = $packageContentCount | Sort-Object $_.Name | Group-Object $_.Name # Group the content found on each distribution point to get a package distributed total count $packageContentCount = Get-CMDeploymentPackage -DistributionPointName $dp | Select-Object -ExpandProperty PackageID } # Get the content on each distribution pint ![]() $allDPs = Get-CMDistributionPointInfo | Select-Object -ExpandProperty ServerName $packageContentCount = Get all distribution points servers Write-Verbose "Get - distribution points and package content" -Verbose # Suppress Fast check not in use warning message $ReportFolder = "$env:systemdrive\Windows\Temp" ![]() The original ‘unused Applications and Packages script author was Matt Bobke Finding Unused SCCM Applications and Packages – Scripting Secures Success (), but have made a few enhancements and added the extra scripts to remove from Distribution Points or to delete from MECM if you choose too. csv and deletes the object from Configuration Manager csv and removes content from distribution pointsĬM-DeleteObject.ps1 – Parses the exported. csv of potential unused Applications and PackagesĬM-RemoveFromDistribution.ps1 – Parses the exported. It will help to identify potential unused applications and packages that could be removed or deleted from your estate to free up disk space on not only your Distribution Points but also your File Server where the source files resideĬM-Cleanup.ps1 – Exports. Whatever the case, then these scripts and steps could be for you. Or you are like me and like to keep a tidy house, keep everything in order and clean up! Is it that time of year, when you are getting asked to make room on the MECM Distribution Points and perform some housing keeping in the Configuration Manager environment as you edge or reach full capacity and the IT budget just has no money to expand or replace the hardware? Configuration Manager (SCCM) | Application and Package Clean-up ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |