none
How do I force a project to check in? RRS feed

  • Question

  • hallo

    I am using project server and project 2016 

    I'm looking for a script by Force Check-In All Projects

    Major  Minor  Build  Revision

    -----  -----  -----  --------

    16     0      4639   1002

    Thanks

    Monday, April 23, 2018 9:44 AM

All replies

  • Hi,

    Here is a link to the Project Server Technet gallery with a script to force checkin:

    https://gallery.technet.microsoft.com/projectserver/Server-PowerShell-script-981812c2#content


    Hope this helps,


    Guillaume Rouyre, MBA, MVP, P-Seller

    Monday, April 23, 2018 11:14 AM
    Moderator
  • i get errore :

    please help

    thanks

    Exception calling "Fill" with "1" argument(s): "Invalid object name 'dbo.MSP_projects'."
    At C:\Users\suser\Desktop\SOLVIN_EasyCheckIn.ps1:75 char:1
    + $SqlAdapter.Fill($DataSet)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : SqlException

    New-WebServiceProxy : The request failed with HTTP status 404: Not Found.
    At C:\User\suser\Desktop\SOLVIN_EasyCheckIn.ps1:79 char:16
    +     $svcPSProxy = New-WebServiceProxy -uri "$ProjectServerURL/_vti_bin/PSI/Project. ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (http://sharepointserver...oject.asmx?wsdl:Uri) [New-WebServiceProxy], WebException
        + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.NewWebServiceProxy

    Monday, April 23, 2018 12:33 PM
  • I suggest that you directly ask a question on the technet gallery to the script author.

    Hope this helps,


    Guillaume Rouyre, MBA, MVP, P-Seller

    Monday, April 23, 2018 1:52 PM
    Moderator
  • You could also try the ProjTool v2 -  https://blogs.msdn.microsoft.com/brismith/2016/04/26/project-development-samples-projtoolv2/


    JH Blake

    Monday, April 23, 2018 5:14 PM