From a16cf0f3f854fb375c14a5ed5705554709ec08cf Mon Sep 17 00:00:00 2001 From: Cameron Battagler Date: Thu, 16 Mar 2017 14:21:06 -0500 Subject: [PATCH] Edits for proper authentication to azure automation --- samples/manage/azure-automation-automated-export/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/manage/azure-automation-automated-export/README.md b/samples/manage/azure-automation-automated-export/README.md index 09dc2652..8df38c2d 100644 --- a/samples/manage/azure-automation-automated-export/README.md +++ b/samples/manage/azure-automation-automated-export/README.md @@ -23,10 +23,8 @@ Provides the scripts and lists the steps to set up automatically exporting your - Create a corresponding pfx certificate by taking the thumbprint of the newly created certificate and running these commands: - ```powershell -$CertPassword = ConvertTo-SecureString -String -Force -AsPlainText -Export-PfxCertificate -Cert "cert:\localmachine\my\$($cert.Thumbprint)" -FilePath .pfx -Password $CertPassword - ``` + `$CertPassword = ConvertTo-SecureString -String -Force -AsPlainText` + `Export-PfxCertificate -Cert "cert:\localmachine\my\$($cert.Thumbprint)" -FilePath .pfx -Password $CertPassword` - Upload the .cer file to your subscription [in the old portal](https://manage.windowsazure.com/) - Upload the .pfx file to the certificates under Assets in the automation account that you want to use on Azure. You will use the password you gave in the previous step to authenticate it.