05-25-2022 11:54 AM
I'm looking to use powershell to automate and reporting on my company's different UCS environments. I'm trying to write a script that will connect to all my UCS environments. I'm curious if this is possible, I know i can connect to one UCS with "connect-usc -name <ucs environment> -credential $UCSCredsVariable"
When I try to connect to multiple UCS environments with a similar command in a function it does not work. Only one environment connects and the rest state they are connected but when you run commands against them you aren't connected.
I'm curious if anyone else found a way to to do this and can share some helpful advice.
Thanks
Ray
05-25-2022 01:40 PM
@Ray Brown you might find some here --> https://developer.cisco.com/codeexchange/explore/#search=ucs%20powershell
05-26-2022 09:59 AM
Thank you for the link. Though the links has many other scripts that will be useful. I didn't find the answer to the issue i'm having. Thanks again for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide