pedrocarvalhoclaranet

Results comments of pedrocarvalhoclaranet

Managed to solve this issue with the following code.... $dt = $(Get-Date).ToString("M-d-yyyy") $cert = New-SelfSignedCertificate -DnsName $($vault.Name+$subscriptionid+'-'+$dt+'-vaultcredentials') -CertStoreLocation cert:\CurrentUser\My -NotAfter $(Get-Date).AddHours(2) $certficate = [Convert]::ToBase64String($cert.RawData) $VaultFile = Get-AzRecoveryServicesVaultSettingsFile -SiteRecovery -Vault $vault...