cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
418
Views
0
Helpful
2
Replies

Powershell to connect to all UCS environments

Ray Brown
Level 1
Level 1

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

2 Replies 2

@Ray Brown you might find some here --> https://developer.cisco.com/codeexchange/explore/#search=ucs%20powershell

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

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.