On-Prem SSM Agent installation FAIL
kmitanovski opened this issue · comments
Running this command in Windows Agent Installation for On-Prem fails:
Get-Content ($env:ProgramData + "\Amazon\SSM\InstanceData\registration")
Get-Content : Cannot find path 'C:\ProgramData\Amazon\SSM\InstanceData\registration' because it does not exist.
At line:1 char:1
+ Get-Content ($env:ProgramData + "\Amazon\SSM\InstanceData\registratio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\ProgramData\...ta\registration:String) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
This mini project isn't working atm
…On 12 Aug 2022 at 10:09:50 am, kmitanovski ***@***.***> wrote:
Running this command in Windows Agent Installation for On-Prem fails:
*Get-Content ($env:ProgramData + "\Amazon\SSM\InstanceData\registration")*
Get-Content : Cannot find path 'C:\ProgramData\Amazon\SSM\InstanceData\registration' because it does not exist.
At line:1 char:1
+ Get-Content ($env:ProgramData + "\Amazon\SSM\InstanceData\registratio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\ProgramData\...ta\registration:String) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
—
Reply to this email directly, view it on GitHub
<#67>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUFJLJLZK24NUJQLD2WJ6TVYWI45ANCNFSM56J6OETA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>