Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Combine Multiple Output into Single Output using powershell command

$
0
0

Is there a way merge all the below output into single output using powershell script. The output needs to be in html format sorting out the user in mailbox size on descending order


$User = Get-MailboxServer MBX01 | Get-Mailbox -ResultSize 10  
$EASOutput =  $MBXV01  | ForEach-Object { Get-MobileDeviceStatistics -Mailbox $_.Identity} | Select-Object identity,devicemodel,LastSuccessSync}

$CASOutput =  Get-Casmailbox User1 | ft Name, ActivesyncEnabled, MAPIEnabled
$MBXOutput =  Get-Mailbox User1 | ft servername, alias, primarysmtpaddress, database
$MBXStat = Get-MailboxStatistics -Identity User1 | ft displayname, TotalItemSize, TotalDeletedItemSize, Itemcount

Exchange Queries



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>