Get-CMUnusedSources

1.0.4

This script will tell you what folders are used or not used in a given path by a site in System Center Configuration Manager.

It leverages the ConfigMgr PowerShell cmdlets to gather content object source path information so you need the console installed. The script can be run remotely from a site server, e.g. your desktop.

A PSObject is returned with the UsedBy st
This script will tell you what folders are used or not used in a given path by a site in System Center Configuration Manager.

It leverages the ConfigMgr PowerShell cmdlets to gather content object source path information so you need the console installed. The script can be run remotely from a site server, e.g. your desktop.

A PSObject is returned with the UsedBy status of each folder under the given parameter -SourcesLocation. You can also specify -HtmlReport generated by the module PSWriteHtml, from there you can export to PDF, CSV or XLSX.

See the GitHub repository README for the documentation https://github.com/codaamok/Get-CMUnusedSources and my blog with a personal account of me writing this script https://www.cookadam.co.uk/get-cmunusedsources.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-CMUnusedSources

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Adam Cook (Twitter: @codaamok - website: cookadam.co.uk)

Version History

Version Downloads Last updated
1.0.4 (current version) 11 10/23/2019
1.0.3 19 9/8/2019
1.0.2 14 8/11/2019
1.0.1 5 8/11/2019
1.0 5 8/11/2019