Locate path to software update content

ritmo2k 811 Reputation points
2024-01-09T14:26:53.2+00:00

How can I locate the path on the filesystem for a given software update?

For example, given the following, I can see the file name, but obviously not the path on a DP:

$updates = Get-CMSoftwareUpdate -UpdateGroupName 'Windows Server 21H2'
$updates[0] |Get-CMSoftwareUpdateContentInfo |select FileName,SourceURL

FileName                      SourceURL

--------                      ---------
Windows10.0-KB5012170-x64.cab http://download.windowsupdate.com/d/msdownload/update/software/secu/2022/08/windows10.0-kb5012170-x64_dcc2049156c13f85b1edcd699ddb0aa9177c21d3.cab

Is there any way to get a path on a specific DP?

Thanks.

Microsoft System Center | Other
{count} votes

Accepted answer
  1. XinGuo-MSFT 22,231 Reputation points
    2024-01-10T02:28:40.54+00:00

    Hi,

    There are two methods to obtain the path:

    cd /d <DP PATH>
    dir *KB5012170* /s /a
    

    PowerShell WMI function to retrieve .cab file UNC content location from SCCM Deployment Package

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.