Skip to content

Commit 455d4b1

Browse files
committed
Merge branch 'dev' of https://github.com/Azure/azure-powershell into DocUpdate
2 parents c41daf6 + 3519ad9 commit 455d4b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AEM/SetAzureRmVMAEMExtension.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ public override void ExecuteCmdlet()
296296
if (wadstorage == null)
297297
{
298298
this._Helper.WriteError("A Standard Storage Account is required.");
299+
return;
299300
}
300301

301302
selectedVM = SetAzureVMDiagnosticsExtensionC(selectedVM, wadstorage.Key, wadstorage.Value);
@@ -337,7 +338,7 @@ public override void ExecuteCmdlet()
337338
}).GetAwaiter().GetResult();
338339

339340
this._Helper.WriteHost("[INFO] Azure Enhanced Monitoring Extension for SAP configuration updated. It can take up to 15 Minutes for the monitoring data to appear in the SAP system.");
340-
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-VMConfigForSAP_GUI commandlet.");
341+
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzureRmVMAEMExtension commandlet.");
341342

342343
var result = Mapper.Map<PSAzureOperationResponse>(op);
343344
WriteObject(result);

0 commit comments

Comments
 (0)