I am new to PowerShell Studio 2023. I am trying to populate a List Box with a list of Power BI datasets. The command I am using is:
- Update-ListBox -ListBox $listBox1 -Items (Get-PowerBIDataset -WorkspaceId "<GUID HERE REDACTED FOR PRIVACY>" | Select Name) -DisplayMember "Name"
To confirm, as part of startup it does log in to PowerBI and also checks that the PowerBI management modules have been loaded.
Open to suggestions here! TIA