Cancelado

combine two commands in one output exchange powershell

Hello all,

I have been trying to accomplish this for about three days now. I am sure this can be done, but i just can't figure it out.

I would like all the fields from both of the below exchange management shell commands to be combined in the same csv file.

Get-Mailbox -ResultSize Unlimited | Where{$[url removed, login to view] -eq '[url removed, login to view]'} | Get-CasMailbox -ResultSize Unlimited | export-csv "c:\[url removed, login to view]"

right now when this is run, I only get the fields that get-casMailbox would export. For example: ActiveSyncEnabled, HasActiveSyncDevicePartnership, OWAEnabled

I would also like fields from Get-Mailbox such as Database, ForwardingAddress, etc to be included in the csv file.

Habilidades: Microsoft Exchange

Ver más: powershell commands output, combine, exchange database, exchange microsoft, run commands, combine database, file combine, database output, file exchange csv, combine csv database, Powershell, commands, exchange csv file

Información del empleador:
( 41 comentarios ) Miami, United States

ID de proyecto: #2760994