Hi Lucd, It's working, But I required "ChainID" also, How can I include the same into the script...Please Below is the OUTPUT, "CreatedTime","Type","UserName","VM","SrcVMHost","TgtVMHost","SrcData...
See more...
Hi Lucd, It's working, But I required "ChainID" also, How can I include the same into the script...Please Below is the OUTPUT, "CreatedTime","Type","UserName","VM","SrcVMHost","TgtVMHost","SrcDatastore","TgtDatastore" Regards, Kumar.
Hi Lucd, I'm trying to call in the beginning of the script, If it's wrong..!! Kindly help where exactly it should be called...Please ..Since this script is very urgent & important. If don't mind .....
See more...
Hi Lucd, I'm trying to call in the beginning of the script, If it's wrong..!! Kindly help where exactly it should be called...Please ..Since this script is very urgent & important. If don't mind ..Kindly write it for me this time....Please. It's an request ….!! Regards, Kumar.
Hi Lucd, I copied "Get the vMotion/svMotion history" in a different PS1, Tried executing it …But I didn't get any output. Kindly advice me if anything as to be modified on the script. Below is the ...
See more...
Hi Lucd, I copied "Get the vMotion/svMotion history" in a different PS1, Tried executing it …But I didn't get any output. Kindly advice me if anything as to be modified on the script. Below is the few lines I added on the top of the Script (i.e. .Get the vMotion/svMotion history) $hours = 24 # Number of hours back $start = (Get-Date).AddHours(-$hours) $tasknumber = 999 # Windowsize for task collector $eventnumber = 100 # Windowsize for event collector $tgtTaskDescriptions = "VirtualMachine.migrate","Drm.ExecuteVMotionLRO" $migrations = @() $report = @() # Get the guest for which we want the report $vmHash = @{} Get-Datacenter -Name "VDC-ServiceProvider" | Get-VM | %{ $vmHash[$_.Name] = $_.Host } Thanks in advance Regards, Kumar
Hi Lucd, Thanks for you Advice & Guidance. When I run the script, Below is the output of it. VM Time1 Host1 DRS1 xcpnhrhr3002 26-11-2020 09:20 xfpnhidsx029 FALSE But few fields ...
See more...
Hi Lucd, Thanks for you Advice & Guidance. When I run the script, Below is the output of it. VM Time1 Host1 DRS1 xcpnhrhr3002 26-11-2020 09:20 xfpnhidsx029 FALSE But few fields are missing in it ,Below is the format for the same, Kindly can help me on it ...Please. Name Type SrcHost DstHost SrcDS DstDS SrcDC DstDC Duration StartTime EndTime Username ChainID Server xcpfhbmas001 vMotion xfpfhidsx035 xfpfhidsx038 FH_P_L_CLUESXCSP002P_DTS_015 FH_P_L_CLUESXCSP002P_DTS_015 VDC-ServiceProvider VDC-ServiceProvider 00:00:49 20-07-2020 23:12 20-07-2020 23:13 DRS 52056668 wcpnhidvc Regards, Kumar.
Hi Lucd, Good day When I'm trying to run this cmdlet "Get-MotionHistory -Entity (Get-VM VM*) -Days 1" ,I'm getting an attached error. When I copied 2 function's nothing was happening, So when I t...
See more...
Hi Lucd, Good day When I'm trying to run this cmdlet "Get-MotionHistory -Entity (Get-VM VM*) -Days 1" ,I'm getting an attached error. When I copied 2 function's nothing was happening, So when I tried with above Command, It was through an error. Kindly help me out. Regards, Kumar.
Dear Lucd, It worked....!! Thanks...!! It's really admirable, As always you help other's and make sure it get's resolved. You're the captain of this community. Thanks a lot ..!! Regards, Kumar ...
See more...
Dear Lucd, It worked....!! Thanks...!! It's really admirable, As always you help other's and make sure it get's resolved. You're the captain of this community. Thanks a lot ..!! Regards, Kumar
Hi Lucd, Yes, the link as information, But I required all cluster's & Esxi Host & Timestamp to be added. Cluster-Esxi-Timestamp, Kindly help me to add those cmdlet to Script..Please. Previous one...
See more...
Hi Lucd, Yes, the link as information, But I required all cluster's & Esxi Host & Timestamp to be added. Cluster-Esxi-Timestamp, Kindly help me to add those cmdlet to Script..Please. Previous one as suggested, I'm working on it...Once I do it...I will surely thank you on that thread. As always you're so much helpful. Thanks, Kumar
Hi Scott, I was able to pull few information using the previous Script, But I was unable to pull in required format as below. Cluster Esxi Host Name CPU GHz Capacity CPU GHz Used CPU GHz Fre...
See more...
Hi Scott, I was able to pull few information using the previous Script, But I was unable to pull in required format as below. Cluster Esxi Host Name CPU GHz Capacity CPU GHz Used CPU GHz Free Memory Capacity GB Memory Used GB Memory Free GB TimeStamp this is the link I tried few options. https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Powercli-Script-to-Capture-ESXi-Host-CPU-Memory-Usage/m-p/373592 If can assist me on that I will be thankful. Regards, Kumar
Hello, I'm new to scripting, Kindly assist me on getting CPU,Memory for Cluster & Esxi Host's under the Cluster in the below format Cluster Esxi Host Name CPU GHz Capacity CPU GHz Used CPU G...
See more...
Hello, I'm new to scripting, Kindly assist me on getting CPU,Memory for Cluster & Esxi Host's under the Cluster in the below format Cluster Esxi Host Name CPU GHz Capacity CPU GHz Used CPU GHz Free Memory Capacity GB Memory Used GB Memory Free GB TimeStamp Thanks, Kumar
Hi Lucd, Since I'm new to Scripting , Whe I tried running this Cmdlet ..it throws the attached error,kindly assist me how to execute it. Get-VIEventPlus Get-MotionHistory. Using the following ...
See more...
Hi Lucd, Since I'm new to Scripting , Whe I tried running this Cmdlet ..it throws the attached error,kindly assist me how to execute it. Get-VIEventPlus Get-MotionHistory. Using the following PowerCLI12.1.0 Version Powershell 5.1 Version. Any other modules as to installed...Kindly suggest me ..Please Thanks, Kumar
Hi Lucd, Sorry, I never thought it as sarcastic, Since I was new to power cli , So I requested to assist me on the script to make changes as the required output. Thanks,
Thanks for your reply..!! I tried that script, But the output is not the same. The output comes as attached screen shot "Motion-Capture", But kindly help me out to get the Output as below Name...
See more...
Thanks for your reply..!! I tried that script, But the output is not the same. The output comes as attached screen shot "Motion-Capture", But kindly help me out to get the Output as below Name Type SrcHost DstHost SrcDatastore DstDatastore SrcDC DstDC Duration StartTime EndTime Username ChainID Server Thanks in advance. Cheers, Kumar.
Required power shell script to pull out the Motion history , Attached the screenshot for the same...Required the output in the same manner. Kindly help me on the same. Thanks, Kumar.