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

Powershell to connect to all UCS environments

Ray Brown
Beginner
Beginner

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

bigevilbeard
Collaborator
Collaborator

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: