It would be really nice to get the grid output to show more than 10 items per page, as I am displaying a lot of records in these. Is this possible?
I don’t know what your code looks like but you can use the parameter -NoPaging
New-UdGrid -NoPaging -Title "Processes" -Headers @("Name", "ID", "Working Set", "CPU") -Properties @("Name", "Id", "WorkingSet", "CPU") -AutoRefresh -RefreshInterval 60 -Endpoint {
Get-Process | Select Name,ID,WorkingSet,CPU | Out-UDGridData
}
Awesome I didn’t see this parameter. I will give this a go tomorrow. Thanks again for the reply.
Teamwork makes the dream works
You can also use the -PageSize
parameter to specify the number of rows per page. More info at the New-UDGrid docs page.
Wow now im spoilt for choice, many thanks @adegutis for the second way around this.
Thanks again both @nicoeat614 and @adegutis ended up using the -PageSize parameter. Need to get some new glasses I think as I got a lot of reading to now do to find other parameters I didn’t know existed.
Glad to help. I am still learning how to set up dashboard elements so I understand the learning curve. I’ll be posting my own “how do I” questions soon enough.