In vCheck daily report we have option to set threshold for Datastore free space and the threshold is configure for all the datastores under vCenter. Is there any way where I can configure differn...
See more...
In vCheck daily report we have option to set threshold for Datastore free space and the threshold is configure for all the datastores under vCenter. Is there any way where I can configure differnt threshold for a specific size of Datastore? Like Datastore Free space threshold should be 10% for the 4TB Datastores and for all other Datastore size free-space threshold should be 15%
I am new with Power cli.. created below script to delete VM snapshot for particular VMs mentioned in a CSV file. $date = get-date -format "yyyyMMdd_HHmmss" Import-Csv C:\Output\PatchingVMsL...
See more...
I am new with Power cli.. created below script to delete VM snapshot for particular VMs mentioned in a CSV file. $date = get-date -format "yyyyMMdd_HHmmss" Import-Csv C:\Output\PatchingVMsList.csv | %{Get-VM $_.Name} | Get-Snapshot -Name BeforePatching | Remove-Snapshot -Confirm:$false -RunAsync | Export-CSV C:\output\SnapshotRemoval-$date.csv -NoTypeInformation But the script will show only task name and status. I need to generate a report with below details: VM Name Snapshot Name Deletion start time Deletion end time User Id use to delete the snap Anyone help me on this?
I am trying to pull BIOS version of all the ESXi hosts in my environment. I am using the below script which is giving me the Hostname/BIOS version and BIOS date only. But I want to add another co...
See more...
I am trying to pull BIOS version of all the ESXi hosts in my environment. I am using the below script which is giving me the Hostname/BIOS version and BIOS date only. But I want to add another column where cluster name also will show for each host. Any idea? $report = @() Get-View -ViewType HostSystem | %{ $row = "" |Select Name, "BIOS Version", "BIOS Date" $row.name = $_.name $biosTemp = ((($_.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | Where {$_.Name -like "*BIOS*"}).Name -split "BIOS ")[1] -split " ") $row."BIOS Version" = $biosTemp[0] $row."BIOS Date" = $biosTemp[1] $report += $row } $report