none
Redistribute Configuration Manger Upgrade Package RRS feed

  • Question

  • Hi Guys,

    Just some questions regarding this post (http://social.technet.microsoft.com/Forums/en-US/11df0f63-d146-434d-91f3-c4e826fee92c/redistribute-configuration-manager-client-upgrade-package-xxx00003?forum=configmanagermigration)

    We are seeing a "Failed to update content properties" on all our DP's for the configuration manager upgrade package (XXX00002)

    With the below PS snip:

    Am I correct in assuming that this command will redistribute the upgrade package to all DP's?

    "$SiteCode" should be the Primary server's sitecode even if we have a Central administration site in our enviroment?

    Does anyone know what distribution priority the upgrade package is set to?

    $SiteCode = "XXX"
    $PackageID
    = "XXX00003"
         $distpoints
    = Get-WmiObject -Namespace "root\SMS\Site_$($SiteCode)" -Query "Select * From SMS_DistributionPoint WHERE PackageID='$PackageID'"
           
    foreach ($dp in $distpoints)
           
    {
                    $dp
    .RefreshNow = $true
                    $dp
    .Put()
           
    }

    Thanks in advance,

    J.

    • Edited by Johan.R Thursday, March 27, 2014 7:05 AM
    Thursday, March 27, 2014 7:04 AM

Answers

  • This script should work and you have to use the sitecode of the CAS.

    select
    PackageID, Name, Priority
    from
    v_Package
    where
    Name = 'Configuration Manager Client Upgrade Package'


    Torsten Meringer | http://www.mssccmfaq.de

    Thursday, March 27, 2014 8:09 AM

All replies