Azure / Microsoft-Defender-for-Cloud

Welcome to the Microsoft Defender for Cloud community repository
https://azure.microsoft.com/en-us/services/security-center/
MIT License
1.7k stars 766 forks source link

Line 47 provides error of "unexpected token" #842

Closed JammyB closed 8 months ago

JammyB commented 9 months ago

https://github.com/Azure/Microsoft-Defender-for-Cloud/blame/main/Powershell%20scripts/Storage%20Price%20Estimation%20Script/D4Storage-PricingEstimation-Per-Storage.ps1

Line 47 provides error of "unexpected token"

velahuer commented 9 months ago

Can you share a screenshot? And let me know which versions you are running?

I ran it in the Azure portal and it ran well.

Screenshot 2024-02-07 at 10 17 13 AM

I also ran it in PowerShell and went well. imagen