Forum Discussion
KeyClacker
Feb 28, 2022Altocumulus
Powershell: 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...
Roman_Melekh
Altocumulus
Okay, guys. I think I am close to the Power-Shell-based solution
KeyClacker
May 11, 2023Altocumulus
Unfortunately F5 built in a byte limit on the API. Their own Python module is built around this limitation and handles chunking up the download in to pieces and streaming it to a file. Powershell cannot do this by some magic and it would require a lot of scaffolding.
I eventually gave up and used the Posh-SSH module to just SCP the UCS archive off of the appliance and to a network share.
- Roman_MelekhMay 11, 2023Altocumulus
- JRahmMay 12, 2023Admin
Nice work, Roman_Melekh!!
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