This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
AWSTools.Powershell\tools\chocolateyInstall.ps1 uses deprecated commands #260
Labels
You can continue the conversation there. Go to discussion →
Describe the bug
Unable to install AWSPowershell due to C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1 trying to call deprecated commands (Write-ChocolateySuccess)
Expected Behavior
Running the following command results in a successful installation of AWsPowershell without any errors:
Install-Module -Name AWSPowerShell -Force
Current Behavior
Running
Install-Module -Name AWSPowerShell -Force
results in the following error:Reproduction Steps
Run 'Install-Module -Name AWSPowerShell -Force'
Possible Solution
No response
Additional Information/Context
I raised an issue on the Choco GitHub page, and I they said the problem sits with AWS as they should be updating their choco package to not use the deprecated commands it is currently using.
AWS Tools for PowerShell version used
I cannot install the tools at all, but I imagine 'Install-Module -Name AWSPowerShell -Force' is trying to install the latest version
PowerShell version used
PowerShell v5.1.14409.20180811
Operating System and version
Windows Server 2016
The text was updated successfully, but these errors were encountered: