This function provide downloading the Remote Desktop file of Virtual Machine on Azure

When you execute that function, its creates and saves Remote Desktop Files of Azure Virtual Machine to select path. SavePath parameter must be specified as mandatory

Optional Account detail can be added into the Remote Desktop File using Username Parameter
Save-AzureRDPFile -SavePath C:\AzureVMFolder 
Save-AzureRDPFile -SavePath C:\AzureVMFolder -UserName\Hasan.Gural