Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I have written the script below. The problem I am receiving is, after a period of time I am no longer receiving input, and when I attempt to manually login to the UCS Manager I get the following error, "Login Error: Failed login info: User reached ma...
UPDATE: The fix below works to an extent. It still doesn't terminate the session. So, the question remains.. How do you properly terminate a session, because "Disconnect-Ucs" does not work.
Answer: Have the function that creates the credentials, als...
So, I ran the script today and verified it isn't closing the session and I ran it from PowerShell as individual commands and again it didn't disconnect. I am going to attempt to create the $ucsHandle in the ucsPass function and just pass the $ucsHand...
Walter, that is good information, but I thought Disconnect-Ucs was how to properly terminate the session. Is there a better way for me to terminate the session so that I don't build multiple sessions over time? Could I do something like "Disconnect-U...