Probably now is not the best time to upgrade your PowerShell to 7.3

Jiadong Chen
2 min readNov 16, 2022
Photo by Max Duzij on Unsplash

About 5 or 6 days ago, while executing a PowerShell script that had been working fine, I ran into an error I hadn’t seen before.

Get-Az***: GenericArguments[0], 'Microsoft.Azure.****', on 'T MaxIntegerT' violates the constraint of type 'T'.

Recalling carefully, I did not modify the script at the time, the only thing I did…

Jiadong Chen

Microsoft MVP, MCT | Azure Certified Solutions Architect & Cybersecurity Architect Expert | Member of .NET Foundation | Packt Author