Skip to main content
Question

Veeam Backup AWS Script: Modify Policy


Hello,

I have more than 700 policies on my VBAws serveurs. I have ton change fiew setting.

I know how to create AWS Acoount / Policies 
I use PowerShell and Invoke-RestMethod 
 

I’m not able to modify polices: 
I do not find a way even in the swagger 

If someone can share the way to modify account or Policies 

nvoke-RestMethod -Uri $TheUrl -Method Put -Body $json -ContentType "application/json" -Headers $Headers -NoProxy -SkipCertificateCheck

Regards

2 comments

Userlevel 7
Badge +21

I found this page for Accounts with PowerShell for Veeam - https://helpcenter.veeam.com/docs/backup/powershell/amazon.html?ver=120

Not seeing policies but will keep searching.

Userlevel 5
Badge +3

Not possible with Powershell right now. Use the Veeam Backup for AWS (VBAWS) RESTAPI calls: https://helpcenter.veeam.com/docs/vbaws/rest/reference/vbaws-rest.html?ver=80#tag/EC2Policies/operation/UpdatePolicy

Comment