Can someone define the difference between the two in the ARM portal. Also what would be the PowerShell if i need to add a new Azure RM VM to a existing AS(Availability Set)? Tha
The main difference is that Scale Sets have Identical VMs where in Availability Sets does not require them to be identical.
Availability set, in concept, are for enhancing application availability in case one primary VM fails/needs update another VM from Fault/Update domain can be provisioned
Scale sets on another hand, in concept, are designed for automatic scaling (horizontal) in application where load can vary extensively to fulfill more compute needs.
Provisioning new VM in Azure when needed is easier for Scale sets as all other VMs are same in all aspects & replica of one golden copy.
For more details refer:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/
https://docs.microsoft.com/en-us/cli/azure/vm/availability-set?view=azure-cli-latest