Created
May 28, 2016 06:49
-
-
Save anonymous/e3070d089fb17392de2bc86db7ed529e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Final=@() | |
foreach ($obj in $ObjColl){ | |
$Final += @{'Name' = ($obj | select -ExpandProperty name); 'TotalUsers' = ($obj | select -ExpandProperty TotalUsers);'TotalInbox' = ($obj | select -ExpandProperty TotalInbox) } | |
} | |
foreach ($obj in $Objcoll1){ | |
$Final += @{'Name' = ($obj | select -ExpandProperty name); 'TotalUsers' = ($obj | select -ExpandProperty TotalUsers);'TotalInbox' = ($obj | select -ExpandProperty TotalInbox) } | |
} | |
Write-Output $final |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment