Closed chezzer64 closed 11 months ago
I've done some testing and the following new regex pattern is working for me to get the PowerBI Version: '(?<=Version:)(?:.?)(\d+(.\d+){2,})(?:.?)(?=Date Published:)'
Should work for both PowerBI Desktop and Report Builder
Thanks.
Thanks, I have a couple of broken apps to attend to and will push some updates out this weekend!
I could not get that to work but this is pretty concise and does the job!
'Version:<.+?>((?:\d+.)+\d+)'
Get-NevergreenApp -Name MicrosoftPowerBIDesktop Get-NevergreenApp -Name MicrosoftPowerBIReportBuilder both now return "WARNING: No version found within...." when running: Get-Version -Uri 'https://www.microsoft.com/download/details.aspx?id=58494' -Pattern 'Version:\s+
((?:\d+.)+\d+)'
Guessing version pattern match regex probably need updating if Microsoft changed the webpage layout?
Thanks.