Script "upgrade shared distribution points"

Hi
We have about 400 SCCM 2007 Secondary Sites and need to migrate them to SCCM 2012 SP1 Distribution Points. As you can image we don't want to click 400 times during migration wizard.
Is there a way to script the upgrade of all shared distribution point? e.g. powershell or SDK (C# or VBScript)
Many, many thanks in advance,
Wolfgang

Try with "update-help" (see REMARKS)...
I get following short information:
NAME
    Start-CMDistributionPointUpgrade
SYNTAX
    Start-CMDistributionPointUpgrade -SiteCode <string> -SharedDistributionPoint <IResultObject#SMS_MigrationDP>
    -CertificateExpirationTimeUtc <datetime> -AllowPreStaging <bool> [-PublicFqdn <IResultObject#SMS_MigrationDP>]
    [-InstallationAccount <IResultObject#SMS_SCI_Reserved>] [-InitiateConnection <bool>] [-InstallInternetServer
    <bool>] [-ClientConnectionType <ClientConnectionTypes> {Intranet | Internet | InternetAndIntranet}]
    [-EnableAnonymous <bool>] [-MinFreeSpaceMB <int>] [-PrimaryContentLibraryLocation <DriveType> {Automatic | A | B |
    C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z}]
    [-SecondaryContentLibraryLocation <DriveType> {Automatic | A | B | C | D | E | F | G | H | I | J | K | L | M | N |
    O | P | Q | R | S | T | U | V | W | X | Y | Z}] [-PrimaryPackageShareLocation <DriveType> {Automatic | A | B | C |
    D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z}]
    [-SecondaryPackageShareLocation <DriveType> {Automatic | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O
    | P | Q | R | S | T | U | V | W | X | Y | Z}] [-EnablePxeSupport <bool>] [-AllowRespondIncomingPxeRequest <bool>]
    [-EnableUnknownComputerSupport <bool>] [-ComputersUsePxePassword <securestring>] [-UserDeviceAffinity
    <UserDeviceAffinityType> {DoNotUse | AllowWithManualApproval | AllowWithAutomaticApproval}]
    [-MacAddressForRespondingPxeRequest <string[]>] [-PxeServerResponseDelaySeconds <int>] [-ValidateContentSchedule
    <IResultObject#SMS_ST_RecurWeekly>] [-ContentValidationPriority <Priority> {Lowest | Low | Medium | High |
    Highest}] [-BoundaryGroup <IResultObject#SMS_BoundaryGroup[]>] [-AllowFallbackForContent <bool>]
    [-PathForSavingMigratedPackage <string>] [-WhatIf] [-Confirm]  [<CommonParameters>]
    Start-CMDistributionPointUpgrade -SiteCode <string> -SharedDistributionPoint <IResultObject#SMS_MigrationDP>
    -CertificatePath <string> -AllowPreStaging <bool> [-PublicFqdn <IResultObject#SMS_MigrationDP>]
    [-InstallationAccount <IResultObject#SMS_SCI_Reserved>] [-InitiateConnection <bool>] [-InstallInternetServer
    <bool>] [-ClientConnectionType <ClientConnectionTypes> {Intranet | Internet | InternetAndIntranet}]
    [-EnableAnonymous <bool>] [-CertificatePassword <securestring>] [-ForceWhenDuplicateCertificate <bool>]
    [-MinFreeSpaceMB <int>] [-PrimaryContentLibraryLocation <DriveType> {Automatic | A | B | C | D | E | F | G | H | I
    | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z}] [-SecondaryContentLibraryLocation
    <DriveType> {Automatic | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W
    | X | Y | Z}] [-PrimaryPackageShareLocation <DriveType> {Automatic | A | B | C | D | E | F | G | H | I | J | K | L
    | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z}] [-SecondaryPackageShareLocation <DriveType> {Automatic |
    A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z}]
    [-EnablePxeSupport <bool>] [-AllowRespondIncomingPxeRequest <bool>] [-EnableUnknownComputerSupport <bool>]
    [-ComputersUsePxePassword <securestring>] [-UserDeviceAffinity <UserDeviceAffinityType> {DoNotUse |
    AllowWithManualApproval | AllowWithAutomaticApproval}] [-MacAddressForRespondingPxeRequest <string[]>]
    [-PxeServerResponseDelaySeconds <int>] [-ValidateContentSchedule <IResultObject#SMS_ST_RecurWeekly>]
    [-ContentValidationPriority <Priority> {Lowest | Low | Medium | High | Highest}] [-BoundaryGroup
    <IResultObject#SMS_BoundaryGroup[]>] [-AllowFallbackForContent <bool>] [-PathForSavingMigratedPackage <string>]
    [-WhatIf] [-Confirm]  [<CommonParameters>]
ALIASES
    None
REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
        -- To download and install Help files for the module that includes this cmdlet, use Update-Help.

Similar Messages

  • Reassign Shared Distribution Point - Required free space

    Hi All,
    I’m working on the migration from SCCM 2007 R3 to SCCM 2012 R2 CU1 for our customer and currently I would to reassign our SCCM 2007 Secondary Sites to SCCM 2012 Distribution Points.
    The “Reassign Shared Distribution Point Wizard” states that I need approximately twice the space of required content for the conversion:
    ... but in the following Technet article I read that the conversion requires available free disk space equal to the size of the largest package that is stored on the distribution point (see the extract below):
    http://technet.microsoft.com/en-us/library/gg712275.aspx
    To upgrade a distribution point from within the Configuration Manager console, the Configuration Manager 2007 site system server must meet the following conditions:
    The      distribution point configuration and location must be eligible for      upgrade.
    The      distribution point computer must have sufficient disk space for the      content to be converted from the
    Configuration Manager 2007 content      storage format to the single instance store format. For      System Center 2012 Configuration Manager with no service      pack, this conversion
    requires available free disk space equal to two      times the size of the existing data on the distribution point.
    Beginning with      System Center 2012 Configuration Manager SP1 and      System Center 2012 R2 Configuration Manager, this conversion requires     
    available free disk space equal to the size of the largest package that is      stored on the distribution point.
    Considering that the environment version is SCCM 2012 R2 CU1 (version: 5.0.7958.1203)
    I do not know if it is
    better to trust to MS article or to the Reassign DP Wizard statement. Is it really needed
    all that free space in my DP in order to complete the migration?
    Any help would be appreciated.
    Thanks a lot.
    Andrea

    In my experience with R2 migrations you do not need double the space as was the case with RTM version.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • SCCM 2012 and SCCM 2007 Shared Distribution Points

    I am building a new SCCM 2012 site (primary and 4 secondaries) besides a SCCM 2007 site (primary, 3 secondaries and 65 DPs).
    I migrated all objects from SCCM 2007 to SCCM 2012 which worked well.
    I migrated a client from SCCM 2007 to my SCCM 2012 environment and that worked well. Then i push some packages from SCCM 2012 to my migrated client which worked as well either.
    Then I switch on the SHARED DISTRIBUTION option in the migration section and now my migrated SCCM 2012 client only can access the SCCM 2007 DPs and packages from SCCM 2012 DP can't be accessed anymore...in Software Center the packages will stay at 0% downloading....
    Is that normal behavior after enabling shared DPs ?

    Did you ever find a solution for this? I am experiencing the same issue.
    I have an IP address range boundary for testing SCCM 2012. After enabling shared distribution option SCCM 2012 migrated boundaries from SCCM 2007. My test IP address range boundary has two boundary groups... One is the SCCM 2012 Boundary group
    pointing towards the SCCM 2012 DPs. The 2nd is the automatically created "Boundary Group for SCCM 2007 distribution point."
    With both of those in there I can only push SCCM 2007 packages to the SCCM 2012 clients. SCCM 2012 packages come back in the logs as "Calling back with empty distribution points list." If I remove the automatically created "Boundary Group for SCCM 2007 distribution
    point" from the test IP boundary then SCCM 2012 clients will properly download from the SCCM 2012 DPs, but now the SCCM 2007 packages fail to download to the SCCM 2012 test clients.
    I assume I have some kind of boundary issue but am at a loss of resolving it. Either that or I have the shared dp concept down incorrectly. Shouldn't I be able to have a boundary that has SCCM 2012 clients that uses the 2012 DP for 2012 content but the 2007
    DP for 2007 content while I am migrating?
    Thanks for any help
    - Ryan

  • SCCM 2012 shared distribution point reassignment - old SCCM 2007 folders/files delete

    Ok, I've looked, googled, binged, and cannot find any definitive answer on this, I've even asked a Microsoft Engineer, and I fear they are just as confused as I am, please help!
    The scenario: I'm migrating from SCCM 2007 to 2012 and of course have shared DP's, I reassign a shared DP and this is what I expected to happen but did not - all the old .pck files from 2007 (in the SMSPKG folder on the OLD DP) should have been deleted AFTER
    the content was converted into the single instance store, they are still there! if they are supposed to be there...why then is it called a SINGLE instance store if there are TWO folders containing compressed source files??? Also, the files in my OLD SMSPKGD$
    (extracted source for 2007) are still there as well, even though prior to the reassignment of the DP I changed all of my deployments to download/run locally...what gives?
    The end result of me reassigning my DP is the new content is essentially doubling the space taken up on the drive...not cool. Can I delete the content of the legacy folders (either the .pck or the folders in SMSPKGD$)?
    Terry

    Hi,
    "The folder is used to temporarily store PCK files that get transferred to child or secondary sites. If you don't have any of those, the folder won't ever have anything in it. Even if you do have one of those, it'll still be empty most of the time because
    PCK file storage in 2012 is temporary only."
    For more information:http://social.technet.microsoft.com/Forums/en-US/2c5e6049-8566-4638-8ba8-3768c74c53f6/smspkg-folder-on-primary-site-server-which-is-not-a-dp?forum=configmanagergeneral
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Monitoring and troubleshooting in-place distribution point upgrades

    I have a shared SCCM 2007 secondary site server that I'd like to upgrade to a SCCM 2012 Distribution Point. I went to the Administration>Migration>Source Hierarchy>Shared Distribution Points and right clicked and hit Upgrade and then proceeded
    through the Upgrade Shared Distribution Point Wizard. Then under Administration>Migration>Distribution Point Upgrades, monitored that status, but even though I left it overnight, the status is still "Upgrade distribution point." I checked under
    the Monitoring>Distribution Status>Distribution Point Configuration Status and selected the name of my distribution point and noticed that I'd forgotten to add the Site Server's computer account to the local admin group on my Distribution Point Server.
    But even though I've corrected that, the status of the upgrade has not changed and there is nothing of note in resource manager indicating that the process is underway.
    Are there any additional logs to monitor the progress of the in-place Distribution Point upgrade? Are there any other troubleshooting steps I can do to determine why the status of the upgrade isn't complete?

    Hi all
    I would like to share my experience with migrating from SCCM 2007 Distribution Points to SCCM 2012. We have in our test environment 39 secondary site systems with the role of distribution points and I wanted to play with the migration feature "Share
    Distribution Point" scenario. In the night in which I had prepared the Secondary sites using the migration wizard, 30 of the 39 sites completed in approximately 3 hours with the status "Completed upgrade distribution point". On all distribution
    points the same completion date was entered. It seems that a task at specific times in the background check again whether the migration is complete and the status is consolidated. The remaining 9 Distribution Points were then completed almost exactly after
    12 hours.
    I then inquired about the migrated packages. On the night not a single package came in the status 'Targeted'. After about 12 hours I saw at once that now at least the distribution points were recorded in most packages. The status 'Installed' but got no distribution
    point. I then startet at about 10 packages an update distribution job. These then became the status of 'Installed' more than 4 hours later. Then the weekend was between and on Monday morning, no other distribution points were listed as 'Installed'. I checked
    local on the distribution point, if all of the packages was converted. This was the case, not only the 10 I have updated. The packages then should be available during deployments, I think. But I have not tested it.
    If you have looked at a package converted times more precise, the status of most distribution point is 'Unknown'. I then googled for this situation, and I have found this
    article. There seems to be a bug which is currently in a solving process.
    For me, there are two solutions for this problem:
    1. Waiting for the hotfix and the problem is then solved centrally. By the fact, that we migrate the 340 Secodary Sites in 3 weeks, I don't think that this hotfix will be available.
    2. Depending on the number of distribution points and packages it may be helpful if all 'targeted' packages are again updated. In this 'Unknown' status situation I simply do not know if the packages are really available or not.
    I found another problem with the Distribution Point migration. Actually with the migration of SCCM 2007 Secondary Site Server to SCCM 2012 remote Distribution Point, an uninstallation of the secondary site server should be performed. We had tested this with
    SCCM 2012 RTM and it was working at that time. With the update to SCCM 2012 SP1 here again seems a problem with the migration to be added. In the SCCM 2007 environment, the Secondary Site Server were removed during migration. But not local uninstalled, even
    after 3 days.
    Conclusion to the Distribution Point in SCCM 2012 SP1 migration:
    As always, you just have to have patience until the migration jobs are completed. Certain tasks must then be carried out by hand. In my view, the missing log information is the biggest problem. Without the log information I was blind
    during the migration. If you only have a short window for migration and like us, that we need to migrate 340 Secondary Site Server in the production environment, the scenario must be carefully considered. We proof now to not migrate the Secondary Sites with
    the Migration Wizzard, but start from the ground up a new installation of Distribution Points followed by the necessary sync packages.
    Kind regards Stefan Somogyi

  • "Enable distribution-point sharing for this source site" did not showing SCCM 2007 DPs as SCCM 2012 content shares for CM12 clients

    Hi
    We have one central site server and three primary site servers in SCCM 2007 and completed the SCCM 2012 migration as single hierarchy.
    During the migration, We have configured SCCM 2007 Central site server as source hierarchy for data gathering process and configured the "Enable distribution-point sharing for this source site" to make SCCM 2007 distribution points
    as SCCM 2012 content shares to serve SCCM 2012 migrated clients. Now we are facing a problem that one of the primary site server's data gathering process did not gather SCCM 2007 DPs even though we configured "Enable distribution-point sharing for this
    source site" but data gathering process is completing successfully.
    Is anyone have idea, why these SCCM 2007 DPs did not appearing as SCCM 2012 content shares under "Shared Distribution Points"
    Thanks in Advance
    srkr

     Now we are facing a problem that one of the primary site server's data gathering process did not gather SCCM 2007 DPs even though we configured "Enable distribution-point sharing for this source
    site" but data gathering process is completing successfully.
    Earlier all the shared DPs are showing under  Shared Distribution Points ? Or since starting itself these DPs are not showing down? Have you checked migmctrl.log for some clue?
    Anoop C Nair (My Blog www.AnoopCNair.com)
    - Twitter @anoopmannur -
    FaceBook Forum For SCCM

  • Distribution Point migration status in CM12 console

    Hi,
    We are using sccm 2012 r2 cu2. we are in middle of migration.
    We have in sccm 2007 under secondary site server name assd1 it contain MP and DP role.
    Under ASSd1 server i was created one of the distribution point server and copied all the package to the new server assd2.
    I created this new distribution point last week.
    Today I gathered data from sccm 2007 to sccm2012.
    Previously I did the same almost 5 servers and after sccm2012 administration-->under site hierarchy--> shared distribution point it shows. after that i will migrate to sccm2012 DP
    but this server not showing. but when i saw migctrl.log i can see the log
     The DP assd2.xxx.org is eligible for upgrade 
    but not showing under administration-->under site hierarchy--> shared distribution 

    Issue got resolved..

  • Distribution manager failed to connect to the distribution point

    After upgrading my distribution point to windows server 2012 standard I can't distribute content to my distribution point.
    I see the following error.
    source: SMS Server
    Component: SMS_DISTRIBUTION_MANAGER
    message id 2391
    Distribution Manager failed to connect to the distribution point Check your network and firewall settings.
    The firewall is not enabled. 
    wbemtest is able to connect to the remote server that has the distribution point role installed.
    The network access account is working.
    How do I fix this?

    but why does it most of the time work? I did inplace upgrade at least 6 times from 2008 R2 to 2012 R2 and every DP except one works fine.
    I'm not completely sure, but I think, my faulty one, that I'm trying to get working, was working correctly after the inplace upgrade. But as I said, that is only a theory, I'm just curious if that's possible.
    I have the same issue as described above.
    The IT guys from LukOIL

  • Distribution manager failed to create the defined share or folder on distribution point and failed to connect to remote distribution point

    We have recently upgraded remote distribution point to SCCM 2012 R2 CU4. when i try to distribute the package getting the error on the distribution point configuration status "Distribution manager failed to create the defined share or folder on distribution
    point and failed to connect to remote distribution point"
    Errors on the package transfer log file.
    CWmi::Connect() could not connect to \\XXXXXXXX.COM\root\SCCMDP. error = The operation completed successfully.. Will try FQDN
    CWmi::Connect() failed to connect to \\XXXXXXX.COM\root\SCCMDP. error = The RPC server is unavailable.
    Failed to connect to the DP WMI namespace on the remote DP

    Thanks Sandys for your suggestions.
    i have tried wbemtest from site server(Secondary site) and remote DP server. Receiving the "The RPC
    server is unavailable" from both ends.
    error:0x800706ba - The RPC server is unavailable

  • 2012 -- 2012 Migration: How to Reassign Distribution Points that Reside on Source Secondary Site Servers to the Target Site

    Source hierarchy AAA is at 2012 R2 CU3 and contains a primary site and 14 secondary sites (A01 through A14). The 14 secondary site servers hold the following roles:
    Site system
    Management Point
    State migration point
    Site server
    Site database server
    Component server
    Distribution Point
    Target hierarchy BBB is also at 2012 R2 CU3 and contains only a primary site.  The goal is to "downgrade" the severs at source secondary sites A01 through A14 to distribution points.
    AAA was added as a source site.  Data gathering was done.  A migration job was created an run, and distribution points from the source hierarchy were shared to allow a phased migration of the clients.
    We have reach the point where we are ready to reassign distribution points in sites A01 through A14 from AAA to BBB, but none of the shared distribution points are eligible for reassignment.  We surmise that since the DP role is not the only role on
    these servers (as you can see from the bullet list above), they are ineligible for reassignment.  We are unable to remove most of the roles.  In fact, the only 2 roles that can be removed are the DP role itself, and the State Migration
    Point. If we delete the secondary site, it removes ALL roles...not leaving any behind...including the one we need...DP.
    My question is 2-part:
    Is our assumption correct?  Must a DP role be the only one on the server for a DP to be eligible for reassignment?
    Is there any way we can reassign these DPs instead of deleting everything and building them from scratch?
    These secondary site servers are in branch offices and host a lot of distributed packages.  It would be very inconvenient to have to rebuild the DPs from scratch and redistribute all those packages over the WAN.

    Full Disclosure: I have never used this tool myself. I intend to, however the opportunity or time to do so has not yet arisen.
    You could use the techniques outlined in CloneDP (https://gallery.technet.microsoft.com/scriptcenter/CloneDP-for-SCCM-2012-SP1-825ce5b1) to create prestage media on each DP and rebuild. That at least would prevent redistributing over the WAN
    Ken provides a nice writeup too: http://blogs.technet.com/b/kensmith/archive/2013/08/01/migrating-the-content-library-between-distribution-points-in-sccm-2012-sp1.aspx

  • Distribution-Point sharing (SCCM 2007 - SCCM 2012)

    I've some problems by gathering data from a SCCM 2007 Hierarchy, into the SCCM 2012 environment.
    Gathering Data without enable Distribution Point sharing is successful, enabling Distribution Point Sharing the Process always fail.
    In migmctrl.log i recogniced that the process alway stucks on the following Row for about one hour:
     [Worker]:                                 Query against Legacy Site , @SourceSiteCode=KR1,
    @LastID=KR10001B:                       WITH Block AS                     
    (                          SELECT TOP 2500 ID FROM PkgStatus WHERE ID > @LastID ORDER BY ID                     
    )                      SELECT                         
    ps.ID COLLATE SQL_Latin1_General_CP1_CI_AS AS ID,                          ps.Type AS Type,                         
    ps.SiteCode COLLATE SQL_Latin1_General_CP1_CI_AS AS SiteCode,                          ps.PkgServer COLLATE SQL_Latin1_General_CP1_CI_AS
    AS PkgServer,                          ps.Personality AS Personality,                         
    ps.Status AS Status,                          ps.SourceVersion AS SourceVersion,                         
    ps.UpdateTime AS UpdateTime,                          ps.Location COLLATE SQL_Latin1_General_CP1_CI_AS AS Location,                         
    ps.SigLocation COLLATE SQL_Latin1_General_CP1_CI_AS AS SigLocation,                          ps.ShareName COLLATE SQL_Latin1_General_CP1_CI_AS
    AS ShareName,                          ps.HTTPUrl COLLATE SQL_Latin1_General_CP1_CI_AS AS HTTPUrl,                         
    ps.State AS State,                          ps.SigURL COLLATE SQL_Latin1_General_CP1_CI_AS AS SigURL                      
    FROM dbo.PkgStatus ps                      JOIN (                         
    SELECT d.ThisSiteCode COLLATE SQL_Latin1_General_CP1_CI_AS AS SiteCode FROM SMSData d                           UNION ALL                         
    SELECT s.SiteCode FROM Sites s JOIN SMSData d ON s.ReportToSite = d.ThisSiteCode AND s.SiteType = 1) s2                      ON s2.SiteCode = ps.SiteCode                     
    JOIN DistributionPoints dp ON ps.SiteCode = dp.SMSSiteCode                          AND ps.PkgServer = dp.NALPath collate SQL_Latin1_General_CP1_CI_AS                     
    WHERE ps.Type != 1 AND dp.Action != 3                          AND ps.ID > @LastID                         
    AND ps.ID <= (SELECT MAX(ID) FROM Block)
    And after that this Errormessage appear:
    ERROR: [Worker]:                                 Failed to execute:                      
    WHILE (1 = 1)                      BEGIN                         
    MERGE TOP (1000) PkgStatus AS target                          USING   (                             
    SELECT                                ps.ID, ps.Type, SiteCode = @CurrentSiteCode, PkgServer = dps.PkgServerFQDN,
    ps.Personality, ps.Status, ps.SourceVersion, ps.UpdateTime,                                ps.Location,
    ps.SigLocation, ps.ShareName, ps.HTTPUrl, ps.State, ps.SigURL, SiteCode as SourceSiteCode                             
    FROM #MIG_PkgStatus ps                              JOIN #MIG_DistributionPointSource dps ON ps.PkgServer = dps.PkgServer                             
    WHERE ID in (SELECT PkgID collate SQL_Latin1_General_CP1_CI_AS from dbo.SMSPackages_L)                             )
    AS src                          ON                           
    (target.ID = src.ID AND target.Type = src.Type AND target.SiteCode = src.SiteCode AND target.PkgServer = src.PkgServer AND target.Personality = src.Personality) -- TODO: Ensure we match an index                         
    WHEN NOT MATCHED THEN                              INSERT  (ID, Type, SiteCode, PkgServer, Personality, Status,
    SourceVersion, UpdateTime,                                      Location,
    SigLocation, ShareName, HTTPUrl, State, SigURL)                              VALUES (src.ID, src.Type, src.SiteCode,
    src.PkgServer, src.Personality, src.Status, src.SourceVersion, src.UpdateTime,                                     
    src.Location, src.SigLocation, src.ShareName, src.HTTPUrl, src.State, src.SigURL)                          WHEN MATCHED AND (                             
    target.Status != src.Status                              OR target.SourceVersion != src.SourceVersion                             
    OR target.UpdateTime != src.UpdateTime                              OR target.Location != src.Location                             
    OR target.SigLocation != src.SigLocation                              OR target.ShareName != src.ShareName                             
    OR target.HTTPUrl != src.HTTPUrl                              OR target.State != src.State                             
    OR target.SigURL != src.SigURL                              ) THEN                             
    UPDATE SET                                  target.Status = src.Status,                                 
    target.SourceVersion = src.SourceVersion,                                  target.UpdateTime
    = src.UpdateTime,                                  target.Location = src.Location,                                 
    target.SigLocation = src.SigLocation,                                  target.ShareName = src.ShareName,                                 
    target.HTTPUrl = src.HTTPUrl,                                  target.State = src.State,                                 
    target.SigURL = src.SigURL                          WHEN NOT MATCHED BY SOURCE AND EXISTS(                                 
    SELECT * FROM MIG_Entity me WHERE me.Type = 2 AND me.ObjectKey = target.ID)                              AND EXISTS
    (                                  SELECT * FROM MIG_DistributionPointSource dpsrc                                 
    WHERE dpsrc.PkgServerFQDN = target.PkgServer AND dpsrc.SourceSiteCode = @SourceSiteCode                             
    )                              AND NOT EXISTS (                                 
    SELECT * FROM MIG_Job job                                  WHERE Type = 3 AND dbo.fn_GetNALPathFromMIGJobConfiguration(job.AdditionalConfiguration)
    = target.PkgServer                              )                             
    THEN DELETE ;                            IF @@ROWCOUNT = 0 BREAK                     
    END SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]:                 End syncing Distribution Points related tables. SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]:         ========== End syncing distribution points ========== SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    ERROR: [Worker]:         System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.     at System.Data.SqlClient.SqlConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)    
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior
    runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    
    at Microsoft.ConfigurationManagement.MigrationManager.MigrationRepository.BulkCopyData[T](Snapshot snapshot, LegacyRepository legacyRepository, IntlSqlFormatter formatter, Func`2 watermarkFunc, T lastMaxId, Boolean doNotDrop)     at Microsoft.ConfigurationManagement.MigrationManager.MigrationRepository.BulkCopyData[T](Snapshot
    snapshot, LegacyRepository legacyRepository, IntlSqlFormatter formatter, Func`2 watermarkFunc, T lastMaxId)     at Microsoft.ConfigurationManagement.MigrationManager.SyncAgentJob.<SyncDPSettings>d__5f.MoveNext()    
    at Microsoft.ConfigurationManagement.MigrationManager.ExtensionMethods.<AttachErrorHandler>d__6`1.MoveNext() SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    STATMSG: ID=8610 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_MIGRATION_MANAGER" SYS="<SourceSITESERVER>" SITE=CA1 PID=2348 TID=4516 GMTDATE=Do Nov 07 11:28:33.390 2013 ISTR0=""<SourceSITESERVER>" (CA1)"
    ISTR1="<DestinationSITESERVER>" ISTR2="-2146232060" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33
    4516 (0x11A4)
    STATMSG: ID=8605 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_MIGRATION_MANAGER" SYS="<SourceSITESERVER>" SITE=CA1 PID=2348 TID=4516 GMTDATE=Do Nov 07 11:28:33.416 2013 ISTR0=""<SourceSITESERVER>" (CA1)"
    ISTR1="<DestinationSITESERVER>" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516
    (0x11A4)
    [Worker]: ==================== Sync Agent Job 16 Ended ==================== SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    ERROR: [Worker]: Microsoft.ConfigurationManagement.Migration.MigrationException: 1 exceptions occurred during syncing.     at Microsoft.ConfigurationManagement.MigrationManager.SyncAgentJob.<get_ExecutionPlan>d__7.MoveNext()    
    at Microsoft.ConfigurationManagement.MigrationManager.Job`1.ExecuteNext() SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Start processing status changed event for MIG_SiteMapping.ID=16 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]:         Set the schedule item 16 end time SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]:         Set the schedule item 16 status to Failed SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: End processing status changed event for MIG_SiteMapping.ID=16 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Disposing Job 16 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Removing Job 16 from job manager. SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Removing the Job with Id 16. SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Disposing worker SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    [Worker]: Disposing current site connection SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    ERROR: [MigMCtrl]: FAILED to EXECUTE job. error = Unknown error 0x80131500, 80131500 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    ERROR: [MigMCtrl]: FAILED to EXECUTE job. error = Unknown error 0x80131500, 80131500 SMS_MIGRATION_MANAGER 07.11.2013 12:28:33 4516 (0x11A4)
    In the StatusMessages of Migration_Manager there are the following Errormessage:
    The Migration Manager on Configuration Manager site server "<SourceSITESERVER>" was unable to complete the SQL operation on the SQL Server "<DestinationSITESERVER>" of Configuration Manager 2007 due to error "-2146232060".
    Thanks in advance

    Hi,
    1.Please examine reports “All active package distributions” on SCCM 2007 to check whether have package is currently being installed or removed. Then refresh all DPs on SCCM 2007.
    After completing these actions above, try to re-gather data.
    2.If fail, please check the transaction log both on SCCM 2012 and SCCM 2007 SQL Server. Then, a SQL engineer should be involved in this case.(This forum do not support database issue)
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Change "Update distribution points on a schedule" in SCCM 2007 via powershell script

    Hi
    I would like to change the Custom Schedule start time in the "Update distribution points on a schedule" on a package in SCCM 2007 with out logging into the SCCM console.
    I have following line code to query the package.
    Get-WmiObject
    -Namespace
    "Root\SMS\Site_$sitecode"
    -Query
    "SELECT * FROM SMS_PackageBaseclass WHERE PackageID='$PackageID'"
    -ComputerName $ServerName
    The problem is I only get the "SourceDate" and "LastRefreshedTime" from the query. I am not sure if I change the "LastRefreshTime" that it would change the start time in the Custom Schedule

    Hi Jason
    I progressed a little bit with you help. I now have the following bit of code.
    $Package = Get-WmiObject  -class SMS_Package -Namespace "Root\SMS\Site_$sitecode" -Filter "PackageID='$PackageID'" -ComputerName $ServerName
    $RefreshPkg = $Package.RefreshSchedule()
    $RefreshPkg.RefreshSchedule
    I get the following error:
    Method invocation failed because [System.Management.ManagementObject] doesn't contain a method named 'RefreshSchedule'.
    At line:7 char:1
    + $RefreshPkg = $Package.RefreshSchedule()
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (RefreshSchedule:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFound

  • Cancel Distribution Point Reassignment Greyed Out

    I executed a Reassign Distribution Point to a server and by default selected D$ as the share to copy to because all of our DP servers are setup on D: EXCEPT for this particular server which has D: as the CD-ROM and E: as the shared drive which is Also used
    as a file share so changing the drive letter may not be the best option. With that being said, I would like to cancel the Distribution Point Reassignment and reconfigure the properties of this particular job to use E: as the share to copy to and re-run the
    reassignment however the Cancel Distribution Point Reassignment is greyed out so it seems that I am unable to cancel this process and with a lot of time spent on researching I have not found a solution for this. Please help!

    Hi,
    We may see the buttons grayed out when some settings are not configured properly. Please check the requirement in this article:
    CEP summary – Upgrade SCCM 2007 Secondary sites and/or DP’s to SCCM 2012 DP’s
    http://configmgrblog.com/2011/11/30/cep-summary-upgrade-sccm-2007-secondary-sites-andor-dps-to-sccm-2012-dps/

  • Unable to create package shares on distribution points

    For any OSD packages in our environment (like images, driver packages, etc) I always check the option "Copy the content in this package to a package share on distribution points", so that we are able to run content directly from the DP's in a task
    sequence instead of downloading it first to clients. But I've noticed now that for any new package I create, the package shares aren't being created thus my OSD tasks are failing due to missing content. When I check the copy content option for a new driver
    package and monitor the distmgr.log, here is what I see:
    Copying package DEV0007F to the package share location \\hou-sccmdp03.network.local\SMSPKGE$\DEV0007F on the server ["Display=\\hou-sccmdp03.network.local\"]MSWNET:["SMS_SITE=YYC"]\\hou-sccmdp03.network.local\    SMS_DISTRIBUTION_MANAGER  
     4/3/2013 11:02:35 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:35 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:40 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:45 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:50 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:55 AM    2156 (0x086C)
    Failed to set security on \\hou-sccmdp03.network.local\SMSPKGE$\DEV0007F for package DEV0007F    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:03:00 AM    2156 (0x086C)
    That same sequence of errors is repeated for every distribution point we have. I checked the sharing permissions on the SMSPGKE$ and SMSSIG$ folders on the DP and everything looks correct. I only started noticing this issue after our SP1 upgrade, but I can't
    find anything from Microsoft saying this is a known bug or how to fix it. This is also affecting new distribution points that we created after the SP1 upgrade, so I don't believe going down the remove/reinstall of all the DP's route will work. Any suggestions?

    Copying package DEV0007F to the package share location \\hou-sccmdp03.network.local\SMSPKGE$\DEV0007F on the server ["Display=\\hou-sccmdp03.network.local\"]MSWNET:["SMS_SITE=YYC"]\\hou-sccmdp03.network.local\    SMS_DISTRIBUTION_MANAGER  
     4/3/2013 11:02:35 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:35 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:40 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:45 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:50 AM    2156 (0x086C)
    SetObjectSecurity failed; 0x80070002    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:02:55 AM    2156 (0x086C)
    Failed to set security on \\hou-sccmdp03.network.local\SMSPKGE$\DEV0007F for package DEV0007F    SMS_DISTRIBUTION_MANAGER    4/3/2013 11:03:00 AM    2156 (0x086C)
    I've seen similar errors after installing SP1:
    Failed to set share security on share \\DP.domain.tld\SMSSIG$. Error = 5
    Failed to set access security on share SMSSIG$ on server DP.domain.tld
    DPConnection::Disconnect: Revert to self
    Cannot find or create the signature share.
    Solution for that case: Use the computer account instead of a site system installation account:
    That might fix it.
    Torsten Meringer | http://www.mssccmfaq.de

  • Distribution Point Migration

    Hello,
    I have 1 primary and 100 secondary site (each secondary having MP and DP role installed). I want to migrate CM2012 share distribution point for 100 secondary site. I have few question in that.
    1.Currently all the secondary contain : more than 250 packages in SMSPKG$ folder and DATAACCESS shared folder. If I convert to shared DP and attach cm2012..How distribution point works. Should I need to distribute 250 package to the shared one or it will
    copy the package from SMSPKG$ folder and store in content lib, or should I redistribute the package to shared DP's? 
    2.Once I convert the share DP it losses 2007 primary communication?
    3.what about the DATAACCESS folder once migrate share DP.. still use old one?

    Hi,
    1. The conversion process will convert all Migrated packages to the new contentlibrary no need to redistribute them.
    2. Yes
    3. From TechNet :
    http://technet.microsoft.com/en-us/library/gg712275.aspx
    "The upgrade process creates a copy of the migrated content that is stored on the distribution point, and then converts this copy to the single instance content store. When Configuration Manager converts a package to the single instance content store, it
    deletes that package from the SMSPKG share on the distribution point computer unless the package has one or more advertisements that are configured to
    Run program from distribution point. "
    Regards,
    Jörgen 
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

Maybe you are looking for

  • Unable to connect to a remote db using Sql Developer

    hi, I have 2 systems (A and B) both running on RHEL 6. A has Oracle 10G installed while B has Oracle 11G, and on both I have SQL Developer. A and B are cable networked with static IPs as below. A 192.168.1.1 B 192.168.1.2 I am trying to connect to da

  • Upgrade to iPhone 5 and iTunes 10.7 rain my parade

    I have old iPhone backup in with my iTunes 10.6.1 How to restore my contact since iPhone 5 need iTunes 10.7 and I am using Mac OS X 10.5.8 which not able to install the iTunes 10.7 PS: When I try to update my iTunes it suggested it is current. When I

  • BT your account is ready for viewing on line e-mai...

    Have received 160 and still counting e-mails from BT in the last 24 hours telling me my account is ready for viewing (yes it was). How do I stop them? Now I know the benefit of paper billing !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • Circles underneath the back glass of iPhone 4?

    Hello fellow iPhone lovers! I own an iPhone 4. In some time, i've noticed that i have some bubbles on the inside of the backside glass of it. Here's a picture: http://img641.imageshack.us/i/imag0056r.jpg/ Then yesterday evening i noticed, that i wher

  • V32.1 Released Today With iOS Download Failure Fix

    Hello, This morning (Pacific time) the v32.1 release was made public. It contains a fix to the download failure issue that surfaced in the following forum discussion: iPad folio "Cannot connect to server" download problem This issue only affected v32