blueten's Posts

Thank you for the information about the versions. I checked and we only have the Standard version. Thanks again!
I'm attempting to create a new report. When I go to Dashboards>Reports>Report Templates , I do not see a button to create a new template. Based on what I've read in the documentation and blogs, I... See more...
I'm attempting to create a new report. When I go to Dashboards>Reports>Report Templates , I do not see a button to create a new template. Based on what I've read in the documentation and blogs, I should have a button to create a new template.The only two buttons that I see are " Run Template" and "Schedule Report". I also see the same two buttons when I go directory to a vm and select "Reports".   I've also logged in with the administrator account (admin) and do not see the new templates button with the admin account logged in. Does anybody have any suggestions to resolve this or why I'm not seeing the New Templates button? We're running VMware vRealize Operations Manager version 7.5.0.13165949 Build 13165949.
Thanks so much for your help! I really appreciate it.  I did a little clean up and here is the end result: #Create variable for exporting results to CSV file $ExportFilePath = "\\servern... See more...
Thanks so much for your help! I really appreciate it.  I did a little clean up and here is the end result: #Create variable for exporting results to CSV file $ExportFilePath = "\\servername\c$\temp\RSSLB_MultipleVCenters.csv" #Connect to the multiple vCenter servers. Ignore certificate errors Write-Host "Connecting to vCenters" -ForegroundColor Cyan $VIServers = Get-Content -Path C:\temp\vcenters.txt $c = Get-Credential Foreach ($VIServer in $VIServers) {     Connect-VIServer $VIServer -Credential $c  -warningaction 0 | Out-Null     Write-Host "Connected to $VIServer" -ForegroundColor Cyan     #List the RSS setting for each host in vCenter     Get-VMHost | ForEach {         $VMHost = $_         $esxcli = Get-EsxCli -V2 -VMHost $VMHost         ForEach-Object {             $esxcli.network.nic.queue.loadbalancer.list.Invoke() |             Select NIC, RSS,                 @{N = "ESXi Host"; E = {$vmHost.Name} },                 @{N = "VCenterServer"; E = { $global:defaultVIServer.Name } } |             Format-Table            $esxcli.network.nic.queue.loadbalancer.list.Invoke() |            Select NIC, RSS,                @{N = "ESXi Host"; E = {$vmHost.Name} },                @{N = "VCenterServer"; E = { $global:defaultVIServer.Name } } |            Export-Csv -Path $ExportFilePath -Append -NoTypeInformation         }     }     } Write-Host "RSS Info located at $ExportFilePath" -ForegroundColor Magenta # Disconnect from vCenters Disconnect-VIServer * -confirm:$false
I'm attempting to list the RSS setting for each vmnic on each ESXi host from a list of vCenters. I'm able to list the vCenter, nic and RSS settings but can't list each ESXi host so I can easily... See more...
I'm attempting to list the RSS setting for each vmnic on each ESXi host from a list of vCenters. I'm able to list the vCenter, nic and RSS settings but can't list each ESXi host so I can easily review all the vCenters, ESXi Hosts, vmnicX and RSS settings. Could someone please help me with identifying a way to capture the ESXi host? Thank you. #Export CSV file name $ExportFilePath = "c:\temp\RSSLB_MultipleVCenters.csv" #Connect to the multiple vCenter servers. Ignore certificate errors Write-Host "Connecting to vCenters" -ForegroundColor Cyan $VIServers = Get-Content -Path C:\temp\vcenters.txt $c = Get-Credential Foreach ($VIServer in $VIServers){     $VIServer = Connect-VIServer $VIServer -Credential $c  -warningaction 0     Write-Host "Connected to $VIServer" -ForegroundColor Cyan     #List the RSS setting for each host in vCenter     Get-VMHost | ForEach {         $VMHost = $_         $esxcli = Get-EsxCli -V2 -VMHost $VMHost             ForEach-Object {                 $esxcli.network.nic.queue.loadbalancer.list.Invoke() | Select NIC,RSS,@{N="ESXi Host";E="$VMHost"},@{N="VCenterServer";E={$VIServer}} | FT                 $esxcli.network.nic.queue.loadbalancer.list.Invoke() | Select NIC,RSS,@{N="ESXi Host";E="$VMHost"},@{N="VCenterServer";E={$VIServer}} | Export-Csv -Path $ExportFilePath -Append -NoTypeInformation                        }     #Export results to file     Export-Csv  -Path $ExportFilePath -Append -NoTypeInformation     # Disconnect from vCenter     Disconnect-VIServer $VIServer -confirm:$false     Write-Host "Disconnected from $VIServer " -ForegroundColor Yellow     } Write-Host "RSS Info located at $ExportFilePath" -ForegroundColor Magenta }
That's worked. Thanks so much for your help. I really appreciate it!!
Thanks so much for the quick reply. In response to "Not sure why you have a Get-View for most properties". It's because I'm a total novice with scripting and trying to make some progress.  ak... See more...
Thanks so much for the quick reply. In response to "Not sure why you have a Get-View for most properties". It's because I'm a total novice with scripting and trying to make some progress.  aka rookie  The CSV file is now returning without any data. Not sure why. I've been trying to resolve it but not having any luck.
I'm connecting to multiple vCenters and obtaining the vm's and attempting to export results from Get-View to a CSV file. The only results that I get when I run my script is the headers. Could so... See more...
I'm connecting to multiple vCenters and obtaining the vm's and attempting to export results from Get-View to a CSV file. The only results that I get when I run my script is the headers. Could someone point out what I'm doing wrong in the code: #CSV Path and file name to be created $ExportFilePath = "c:\temp\VMInfo-MultipleVCs.csv" #Connect to the multiple vCenters Write-Host "Connecting to vCenters" -ForegroundColor Cyan $VIServers = Get-Content -Path C:\temp\vcenters.txt $c = Get-Credential $VIServers = Connect-VIServer $VIServer -Credential $c  -warningaction 0 ForEach ($VIServer in $VIServers) {     Write-Host "Gathering Statistics for VMs in $VIServer"     $table = @()     $vm = Get-VM     ForEach ($vm in $VMs) {         $Report = "" | Select VIServer,Name,DNS_Name,OS,PowerState,Template_Status,IPAddress,LastBootTime,Notes         $Report.VIServer = $_.VIServer         $Report.Name = (get-View $vm.Name)         $Report.DNS_Name = (get-View $vm.Guest.HostName)         $Report.OS = (get-View $vm.Guest.GuestFullName)         $Report.PowerState = (get-View $vm.Summary.Runtime.powerstate)         $Report.Template_Status = (get-View $vm.Summary.Config.Template)         $Report.IPAddress = (get-View $vm.Summary.IpAddress)        $Report.LastBootTime = (get-View $vm.Summary.Runtime.BootTime)         $Report.Notes = (get-View $vm.config.annotation)         $table += $Report        } } $table | Export-Csv $ExportFilePath -NoTypeInformation Disconnect-VIServer -Confirm:$False Thanks so much!