Task Scheduler Error “A specified logon session does not exist” – Fix via Command Line and PowerShell for Scripting

Task Scheduler Error “A specified logon session does not exist” – Fix via Command Line and PowerShell for Scripting

This is very know issue, if you search internet, you will get multiple blog post with same solution for this issue, and if you follow the steps, it actually resolve this issue. In simple word, solution of this problem is Logon to the faulty system. Open SECPOL.MSC from Run Go to Security Settings | Local Policies | Security Options Open

Extract VM details from VCenter

Extract VM details from VCenter

Sometimes it’s a painful job to extract all the information from vCenter server. From GUI you could export information, but not all the information will be available. I was requested to extrach following information. VM Name Host Name VM IP Address Installed Guest OS Power State of VM Allotted number of CPU Allotted total memory Connected Data store Host Server