From 6dc77fde6d45d25df1c54431503db17142aed267 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Fri, 12 Feb 2016 14:07:10 -0800 Subject: [PATCH] Fix Issue #46 Slect-Object fails for Get-AzureStoreSimpleStorageAccountCredential --- .../GetAzureStorSimpleStorageAccountCredential.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs index 37beb7dbb314..e302691dfe99 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs @@ -38,7 +38,7 @@ public override void ExecuteCmdlet() var allSACs = StorSimpleClient.GetAllStorageAccountCredentials(); if (StorageAccountName == null) { - WriteObject(allSACs); + WriteObject(allSACs, true); WriteVerbose(string.Format(Resources.SACGet_StatusMessage, allSACs.Count, allSACs.Count > 1 ? "s" : string.Empty)); return; } @@ -60,4 +60,4 @@ public override void ExecuteCmdlet() } } } -} \ No newline at end of file +}