ArunaLakshitha's Posts

Issue resolved and thank you.
I'm too lazy a reader. Thank you very much @LucD. It was line 92. I changed and everything working fine.    Thank you once again.
Sorry, my bad. I have a requirement of copying the existing alarms and definition from one vCenter to another vCenter. Both vCenters are in 7.U2 I did the following steps.  Downloaded the scrip fro... See more...
Sorry, my bad. I have a requirement of copying the existing alarms and definition from one vCenter to another vCenter. Both vCenters are in 7.U2 I did the following steps.  Downloaded the scrip from the following VMware KB https://kb.vmware.com/s/article/1032660 When I tried to run for the first time it gave an error related to the certificate. With the following command, I was able to run script Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false Then I ran the script with the Souce and Destination vCenter information. Script ran without any error throwing but no alarms were copied to the destination vCenter from source vCenter.      
I was trying to copy alarms and definitions between two vCenter Servers (Version 7 U2) with help of the following VM KB without luck. https://kb.vmware.com/s/article/1032660
How to copy vCenter alarms from once VC7 to another VC17
Was trying to copy alarms VC7 to VC7 without any luck. Is this script support VC7 as well?