Hi,
don't know how it happened but i lost the WinRMCertificate in the AzureVM Config. So if i run
get-azurevm -Name <vmname> -servicename <servicename> | select expandproperty vm
the line with the DefaultWinRMCertificateThumbrint is empty. The HTTPS Listener is configured, the endpoint is configured. the self-signed certificate is in the local store.
But i can't get it to the azurevm property?! Therefore it's not possible to establish a remote PS session.
How can i add the certificate to the azurevm property again? (the other VMs have the certificate added to the property fine)
thanks!