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.

Show more

Installation Options

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

Install-Script -Name Get-CMUnusedSources -RequiredVersion 1.0.4

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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

Owners

Package Details

Author(s)

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

Tags

SCCM ConfigMgr ConfigurationManager

Functions

Write-CMLogEntry Get-CMContent Get-AllPaths Get-AllSharedFolders Get-AllFolders Start-AltFolderSearch Test-FileSystemAccess Measure-ChildItem Set-CMDrive

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.8 186 12/27/2019
1.0.7 16 12/26/2019
1.0.6 15 12/22/2019
1.0.5 21 12/16/2019
1.0.4 (current version) 29 10/23/2019
1.0.3 32 9/8/2019
1.0.2 27 8/11/2019
1.0.1 17 8/11/2019
1.0 21 8/11/2019
Show more