Getting Current / Active session in Azure virtual machine using powershell(Runbook) RRS feed

  • Question

  • I'm trying to get the current active session in Azure VM through the Runbook PowerShell. If there is no any active session / usage then planning to stop the VM.

    The problem is, I couldn't able to get the current session using RunBook Powershell. Please let me know if any way to get the session detail using PowerShell command.

    Saturday, June 13, 2020 5:57 PM