$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://PRODHTCAS-02-VM/PowerShell/ -Authentication Kerberos
Import-PSSession $Session -AllowClobber
Import-Module ActiveDirectory -ErrorAction STOP
Get-TransportServer | Get-Messagetrackinglog -Sender "emite@domain.com" -Recipients "itoperat@domain.com" -EventID "RECEIVE" -Start "25/01/2017 9:00:00 AM" -End "25/03/2016 9:08:00 PM" | ft -wrap Timestamp, Source, Sender, Recipients, MessageSubject, TotalBytes | Out-GridView
The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
+ CategoryInfo : InvalidArgument: (PRODMBX02-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
+ FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
+ PSComputerName : PRODMBXCAS04-VM
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.