After running Install-AWSToolsModule , I could not run Set-AWSCredential
PS C:\Users\pwell> Install-AWSToolsModule AWS.Tools.EC2,AWS.Tools.S3 -CleanUp
Install-AWSToolsModule : The term 'Install-AWSToolsModule' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ Install-AWSToolsModule AWS.Tools.EC2,AWS.Tools.S3 -CleanUp
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-AWSToolsModule:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\pwell> Install-Module -name AWSPowerShell.NetCore
PS C:\Users\pwell> Set-AWSCredential
Set-AWSCredential : The term 'Set-AWSCredential' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again. At line:1 char:1 + Set-AWSCredential + ~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Set-AWSCredential:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\pwell> Import-Module -Name AWS.Tools.Installer
Import-Module : The specified module 'AWS.Tools.Installer' was not loaded because no valid module file was found in
any module directory.
At line:1 char:1
+ Import-Module -Name AWS.Tools.Installer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (AWS.Tools.Installer:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Users\pwell> Import-Module -name AWSPowerShell.NetCore
Import-Module : The specified module 'AWSPowerShell.NetCore' was not loaded because no valid module file was found in
any module directory.
At line:1 char:1
+ Import-Module -name AWSPowerShell.NetCore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (AWSPowerShell.NetCore:String) [Import-Module], FileNotFoundExcepti
on
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Users\pwell> Install-Module -Name AWSPowerShell
PS C:\Users\pwell>
PS C:\Users\pwell>
PS C:\Users\pwell> Import-Module -Name AWSPowerShell
Import-Module : The specified module 'AWSPowerShell' was not loaded because no valid module file was found in any
module directory.
At line:1 char:1
+ Import-Module -Name AWSPowerShell
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (AWSPowerShell:String) [Import-Module], FileNotFoundException
In the end I had to use the below
Invoke-RestMethod -Uri "github.com/HP-85/atp/raw/main/AWS.Tools.Install.ps1" | Invoke-Expression