Please help me to get below details
I need vSphere power cli script for when VM is deployed , who deployed and source of template.
Not sure what version of the products you are running, but it is possible that the following blog reference might help;
https://ssbkang.com/2015/06/18/powercli-report-audit-your-environment/
Hope this helps
Simon
Check if it works for you, you may need to change some parameters as this is very old script where some parameters newer version of powercli may not recognize.
PowerCLI: Get every VM added to vCenter in the last 30 Days! - The Practical Administrator
