Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Data gateway January 2025 update

One of the prerequistes for this update includes updating Powershell to v7.4 or later.  My server was on v5.1. After I upgraded, I
now have two versions of Powershell: 5.1 and 7.5. Is it assumed the January 2025 update will use the 7.5 version and not 5.1?

 

For anyone who has done the January 2025 update, especially on clustered gateway servers, are there any lessons learned you can share?

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Anonymous,

    Thank you for reaching out in Microsoft Community Forum.

    Please follow below steps to resolve the error;

    1. please Open PowerShell 7.5 by running:
    pwsh

    2. Backup the configuration before updating:
    Export-DataGatewayConfiguration -Path "C:\GatewayBackup.json"

    3. please Update one server at a time to avoid downtime.

    4. verify the cluster status after the update:
    Get-DataGatewayClusterStatus

    5. Confirm PowerShell Version Post-Update:
    $PSVersionTable.PSVersion

    If it still shows 5.1, update the PATH variable to prioritize 7.5.

    Please continue using Microsoft community forum.

    If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.

    Regards,
    Pavan.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

    Thank you for reaching out in Microsoft Community Forum.

    Please follow below steps to resolve the error;

    1. please Open PowerShell 7.5 by running:
    pwsh

    2. Backup the configuration before updating:
    Export-DataGatewayConfiguration -Path "C:\GatewayBackup.json"

    3. please Update one server at a time to avoid downtime.

    4. verify the cluster status after the update:
    Get-DataGatewayClusterStatus

    5. Confirm PowerShell Version Post-Update:
    $PSVersionTable.PSVersion

    If it still shows 5.1, update the PATH variable to prioritize 7.5.

    Please continue using Microsoft community forum.

    If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.

    Regards,
    Pavan.