Skip to content

Update-AWSToolsModule does not make upgrade to the latest version #340

Open
@PetrMa

Description

@PetrMa

Describe the bug

Hello,
Currently I have installed AWSTools in version 4.1.515.0 and I would like to use command Update-AWSToolsModule -CleanUp to make an update to the latest version 4.1.516.0 which is currently available on https://www.powershellgallery.com/packages/AWSPowerShell/4.1.516

But if I run the command Update-AWSToolsModule -CleanUp
I´ve got the answer that update modul will make an update to version 4.1.433.0 instead of the latest available version
Performing the operation "Install-AWSToolsModule" on target "AWS Tools version 4.1.433.0".
and the CleanUp command wants to uninstall all newest versions.

So how Can I use this command to update AWSTools to 4.1.516.0 and removing all older versions please?

image

Expected Behavior

Make an upgrade of all modules to latest version available on https://www.powershellgallery.com/packages/AWSPowerShell/

Current Behavior

The command make upgrade to old version of AWSTools

Reproduction Steps

Run a command Update-AWSToolsModule -CleanUp

Possible Solution

No response

Additional Information/Context

No response

AWS Tools for PowerShell version used

AWS.Tools 4.1.515

PowerShell version used

Name Value


PSVersion 5.1.20348.2227
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2227
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Operating System and version

Windows Server 2022 Datacenter Edition

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions