Forum Discussion
KeyClacker
Altocumulus
Feb 28, 2022Powershell: Invoke-RESTmethod on /mgmt/tm/sys/ucs (403) Forbidden error
I'm fairly experienced with Powershell and have used the Invoke-RestMethod cmdlet, and vendor documentation, to automate some things before. I've just inherited management of an HA pair of F5 BIG-IP...
SamCo
Cirrus
Mar 01, 2022Did you try to make the same POST request with a different UCS name ?
Maybe there is already an existing one on your box with the same name, in that case you request could be blocked to avoid to override it.
xuwen
Cumulonimbus
Mar 01, 2022use datetime to rename format ucs filename and make it not be the same
from datetime import datetime
'/var/local/ucs/test_{}.ucs'.format(datetime.now().strftime('%Y-%m-%d'))
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects