Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Creating output to CSV from different objects

$
0
0

Good Afternoon,

I have two objects and I would like to combine properties of each object into a table and then export out to CSV file but I am unsure of how to do this?

$Mailbox = Get-Mailbox -Identity swatto@swatto.co.uk

$MailboxStats = Get-MailboxStatistics -Identity $Mailbox

How do I then combine properties from the above two objects into a new object and then output it to CSV please?

Thanks for any help you can provide


Viewing all articles
Browse latest Browse all 6937

Trending Articles