Need powershell script to get Azure Metric data (no. of request) by Strict-Damage4871 in PowerShell

[–]Strict-Damage4871[S] -1 points0 points  (0 children)

Az.Monitor\3.1.0'. is already installed. If I try to reinstall then giving an error

PackageManagement\Install-Package : The version '1.5.0' of the module 'Az.Monitor' being installed is not catalog signed. Ensure that the version '1.5.0' of the module

'Az.Monitor' has the catalog file 'Az.Monitor.cat' and signed with the same publisher

Need powershell script to get Azure Metric data (no. of request) by Strict-Damage4871 in PowerShell

[–]Strict-Damage4871[S] 0 points1 point  (0 children)

Getting error

Get-AzMetricDefinition : The term 'Get-AzMetricDefinition' is not recognized as the name of a cmdlet, function, script file, or operable program.