1 2 Previous Next 16 Replies Latest reply on May 14, 2018 11:46 PM by Magneet

    PowerCLI 6.5 Release 1 and get-remotesessions

    cbadman Novice

      Hello:

      I am testing out VMware PowerCLI 6.5 Release 1 on a new server
      Everything seems to be working out except for one cmdlet that we are using in our scripts.

      I understand that The Get-remotesession cmdlet was present in the old View module (and only works with powershell 2.0) and on the CS server only.

      My question is there any similar cmdlet in 6.5.1?
      Our current scripts queries the duration of a remote session.

      PS C:\Users\administrator.VLAB> Get-RemoteSession


      session          : 0
      Username         : xxxx
      pool_id          : xxxx
      startTime        : Thu Feb 15 08:12:15 PST 2018
      session_id       : xxxx
      DNSName          : xxxx
      duration         : 22 minutes
      lastSessionTicks : -1223468
      state            : CONNECTED
      protocol         : BLAST

      BTW, is there page that has a list of arguments that you can pass the VMware.HV.Helper cmdlets?

      Thanks,
      Chris

      Hello:
       
      I am testing out VMware PowerCLI 6.5 Release 1 on a new server
      Everything seems to be working out except for one cmdlet that we are using in our scripts.
       
      I understand that The Get-remotesession cmdlet was present in the old View module (and only works with powershell 2.0) and on the CS server only.
       
      My question is there any similar cmdlet in 6.5.1?
      Our current scripts queries the duration of a remote session.
       
      PS C:\Users\administrator.VLAB> Get-RemoteSession
        1 2 Previous Next