Help with restart VM in powershell

Home Forums Scripting PowerShell Help with restart VM in powershell

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All,

    I am trying to solve a powershell project myself but this one requires some skill i dont have (yet).

    Project description:


    We have 100+ users, which uses our vmware view horizon server and connect to get a client they can work on.


    The environment is used 24/7 by the people all around the country.
    On our Vmware View Horizon server, sometimes the virtual machines ”hangs” in a shutdown state or just stalls and therefore the users CANT access their thin client.!

    No one outside the IT-department can RESTART the machine.
    Wanted solution:

    The task is to make a powershell script for users to able to see their OPEN sessions and then have a button ”RESTART” beside each session or similar

    if there is more than one session which hangs.


    get all remote-sessions

    Show remote-sessions with a RESTART option for each session

    Can anyone help me with this?


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.