Automation

 View Only
  • 1.  How to know if a a script is running on vcenter ?

    Posted Apr 18, 2016 09:19 AM

    Hi there,

    Ask myself about how to know if a script was played on a vcenter, any idea to ckeck that ?

    We got some trouble with one of our vcenter like huge latency and deconnexion, and i suspect someone is playing a powercli script.

    So if you now of to check that i ll be gratefull

    thanks



  • 2.  RE: How to know if a a script is running on vcenter ?
    Best Answer

    Posted Apr 18, 2016 12:30 PM

    To my knowledge, there is no way to determine whether something is being run through PowerCLI or through the clients...Everything vCenter logs will show up in Tasks and Events regardless where they are run. You can view active sessions for both client and powecli from the client:

    In vSphere Web Client under vCenter -> Manage -> Sessions or from the C# Client from Home -> Sessions.