Hey Rui!
Thanks for all your work! I found and issue on line 217 in Admin-TenantScan.ps1.
The character U+2013 "–" is used instead of character U+002d "-" for MemberType, Name and Value.
Direct reference:
https://github.com/RuiRomano/pbiscripts/blob/7e0d90de3e013274633c16c81c54cdecd988157e/Admin-TenantScan.ps1#L217C16-L217C16
It runs fine in PowerShell 7, but older versions like PowerShell like 5.2 will not work :)
Hey Rui!
Thanks for all your work! I found and issue on line 217 in Admin-TenantScan.ps1.
The character U+2013 "–" is used instead of character U+002d "-" for MemberType, Name and Value.
Direct reference:
https://github.com/RuiRomano/pbiscripts/blob/7e0d90de3e013274633c16c81c54cdecd988157e/Admin-TenantScan.ps1#L217C16-L217C16
It runs fine in PowerShell 7, but older versions like PowerShell like 5.2 will not work :)