I have been trying to update my SSM agent. I'm running the command AWS updatessmagent. This is what I am getting.
PS C:\Windows\Temp> AWS-UpdateSSMAgent
AWS-UpdateSSMAgent : The term 'AWS-UpdateSSMAgent' 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
AWS-UpdateSSMAgent
~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (AWS-UpdateSSMAgent:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
can anyone help.
According to AWS documentation for Windows, manual updates to SSM agent are done manually. It looks like the powershell commands are
You can also set up automatic SSM agent updates as described here.
I suspect the command you ran was for Linux.