locked
CRM -> Deployment manager-> Organizations: how to extract value of field "Update" with PowerShell? RRS feed

  • Question

  • Hi all,

    i try to get value of field "Update" in the view Deployment Manager-> Organizations

    with PowerShell. I use command "Get-CrmOrganization" and become information about organisation(e.g. GUID, organisation name, etc.), but there are no information about update status.

    Does somebody know how to solve this Problem?


    Thank you very much in advance for your answer!

    With best regards,

    Waldemar


    • Edited by Waldemar BS Tuesday, March 11, 2014 1:38 PM
    Wednesday, March 5, 2014 10:07 AM

Answers

  • The update columns shows the difference between the UR of the Organization and the application (on the deployment server I think, assumed to be the same on all servers since that is the only supported configuration).

    So if you use Get-CrmServer, that tells you the version of the server, and Get-CrmOrganization tells you the information for the Org.

    I guess someone cleverer than me with PowerShell may be able to parse those out and show one if they are the same and both if different, perhaps.


    Hope this helps.
    Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
    UK CRM Guru Blog

    • Marked as answer by Waldemar BS Wednesday, March 12, 2014 11:37 AM
    Tuesday, March 11, 2014 3:31 PM

All replies

  • The update columns shows the difference between the UR of the Organization and the application (on the deployment server I think, assumed to be the same on all servers since that is the only supported configuration).

    So if you use Get-CrmServer, that tells you the version of the server, and Get-CrmOrganization tells you the information for the Org.

    I guess someone cleverer than me with PowerShell may be able to parse those out and show one if they are the same and both if different, perhaps.


    Hope this helps.
    Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
    UK CRM Guru Blog

    • Marked as answer by Waldemar BS Wednesday, March 12, 2014 11:37 AM
    Tuesday, March 11, 2014 3:31 PM
  • Many thanks for your response Adam!

    now i know how to solve this problem:

    Code:

    $value1 = Get-CrmOrganization -Name XXXX | Select-Object Id, FriendlyName, Version
    $value2 = Get-CrmServer -Name XXXX | Select-Object ID, Name, Version
    $value1.Version -eq $value2.Version

    Wednesday, March 12, 2014 11:37 AM