mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Enumerate WriteObject output
This commit is contained in:
@@ -76,7 +76,7 @@ namespace Microsoft.PowerShell.Commands.Omi
|
||||
OmiData data = oi.GetOmiData();
|
||||
object[] array = data.ToObjectArray();
|
||||
|
||||
WriteObject(array);
|
||||
WriteObject(array, true);
|
||||
|
||||
} // EndProcessing
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace Microsoft.PowerShell.Commands.Omi
|
||||
OmiData data = oi.GetOmiData();
|
||||
object[] array = data.ToObjectArray();
|
||||
|
||||
WriteObject(array);
|
||||
WriteObject(array, true);
|
||||
|
||||
} // EndProcessing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user