Mike27
1
When using New-UDTable Export, the file shows up always as blank. I have tried CSV & XLS and both produce blank files. Am I doing something wrong?
New-UDTable -Data $Data -Columns $Columns -ShowSearch -ShowPagination -Dense -Export
Product: PowerShell Universal
Version: 2.0.0
I am seeing this as well and I am now at 2.0.3
adam
3
I think you’ll need to include the columns you’d like to import with new-UDTableColumn. This example works for me: Table - PowerShell Universal
That said, I don’t think this should be required and will open an issue to enhance this.
Mike27
4
Thank you @adam!
Adding that fixed it, though I had to also define columns for my other table that I left just the default column headers.
1 Like
adam
5
Cool. I’ll improve this so that it’s not necessary to do this just for exporting.