Implement a warning mechanism in PowerShell cmdlets (e.g., az vm create, az vmss create) to notify users when they attempt to deploy a VM or VMSS using a deprecated image. This aims to reduce security/compliance risks and capacity costs associated with outdated images.
### Description of the new feature Related command az vm create az vmss create Is your feature request related to a problem? Please describe. General: Azure marketplace allows user to publish images, however many images are not deleted after deprecated. These deprecated images incurs additional capacity cost to Azure, and causes security/compliance risks for user to still use them. Today the image deletions cannot start until the usage reaches a certain threshold. We need to accelerate the deletion of the deprecated images by keep user away from using these deprecated images. Urgent: Due to .net 6 deprecation, Windows server team is deprecating all WS 2022 images from marketplace, we need to make sure this deprecation is executed in a timely manner, so both 1P and 3P services can move away from the deprecated WS 2022 images which contains EOL software with security risks. Describe the solution you'd like When " az vm/vmss create" is executed, if the image user selects is already mar