Get-CMUnusedSources
1.0.8
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
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 -ExcelReport generated by the module ImportExcel, 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
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 -ExcelReport generated by the module ImportExcel, 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
Owners
Package Details
Author(s)
- Adam Cook (Twitter: @codaamok - website: cookadam.co.uk)
Tags
SCCM ConfigMgr ConfigurationManager MEMCM MECM
Functions
Write-CMLogEntry Write-ScreenInfo Get-CMContent Get-AllPaths Get-AllSharedFolders Convert-UNCPath Get-AllFolders Get-AllFoldersAlt Test-FileSystemAccess Measure-ChildItem Set-CMDrive New-ExcelReport
Dependencies
This script has no dependencies.
FileList
- Get-CMUnusedSources.nuspec
- Get-CMUnusedSources.ps1