Product: PowerShell Universal
Version: 2.5.4
I have data in a PSCustomobject called $AllData that I am using to create a UDTable. $AllData contains three columns (ComputerName, VMMservice and XDservice) and several rows of data from several servers.
I would like to have the text in column 1 (the ComputerName) a hyperlink. How can I make each computer name a hyperlink in a particular cell? I can change the text but I need to pull in the variable for that specific computername.
$Columns = @(
New-UDTableColumn -Property ComputerName -Title "ComputerName" -render {
New-UDButton -Text *IwantComputerNameHere*
}
New-UDTableColumn -Property VMMservice -Title "VMMservice"
New-UDTableColumn -Property XDservice -Title "XDservice"
)
New-UDTable -Id 'customColumnsTable' -Data $Data -Columns $Columns