Need help please on powershell : hello Everyone, 
    
    I Need your help please, actually i just started a new job and i have to create a script to : 
    -1 list all certificate on Azure plateforme, 
    -2 including expiration date
    -3 including sending an alert before expiration in order to anticipate the update.

    
    all SSL certificate and VM and Webapp and websites must be included.
    
    actually i have started by loocking  on the internet and i have found some script but actually i would like to learn so if you can help me please i'll offer the Coffee :-)
    
    i have made some changes on my script so i can adapt it to the environment but i still need your help
    
    Best Regards

list all certificate on vault (NOK)
List certificate on a subscription (ok)
include alert on expire date (NOK)



 
# Connect to Azure 
Write-Host "Login to Azure"
Login-AzureRmAccount
# Select $subscription
Write-Host "Select subscription $subscription"
Get-AzureRmSubscription -SubscriptionName $subscription | Select-AzureRmSubscription