PowerShell to parse Exchange message tracking not working ?

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
ITEngineer
Posts: 138
Joined: Wed Oct 12, 2011 10:52 am

Re: PowerShell to parse Exchange message tracking not working ?

Post by ITEngineer » Tue Jun 26, 2018 11:04 pm

Mr Vierra,

It is the below error not the date:

Code: Select all

Cannot process argument transformation on parameter 'End'. Cannot convert value "27/06/2018 11:00:00 AM" to type "System.DateTime". 
Error: "String was not recognized as a valid DateTime."

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: (PRODEX02-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
    + PSComputerName        : PRODEX01-VM
	
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: (PRODEX03-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
    + PSComputerName        : PRODEX01-VM
	
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: (PRODEX04-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
    + PSComputerName        : PRODEX01-VM
	
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: (PRODEX05-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
    + PSComputerName        : PRODEX01-VM
	
...

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: (PRODEX15-VM:PSObject) [Get-MessageTrackingLog], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MessageTrackingLog
    + PSComputerName        : PRODEX01-VM
/* IT Engineer */

User avatar
jvierra
Posts: 13301
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: PowerShell to parse Exchange message tracking not working ?

Post by jvierra » Tue Jun 26, 2018 11:08 pm

What exact command caused that error? It appears you have an issue with our Exchange server.

User avatar
ITEngineer
Posts: 138
Joined: Wed Oct 12, 2011 10:52 am

Re: PowerShell to parse Exchange message tracking not working ?

Post by ITEngineer » Tue Jun 26, 2018 11:16 pm

jvierra wrote:
Tue Jun 26, 2018 11:08 pm
What exact command caused that error? It appears you have an issue with our Exchange server.
It's this command: Get-MessageTrackingLog, hence I need some help in fixing that issue ?
/* IT Engineer */

User avatar
jvierra
Posts: 13301
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: PowerShell to parse Exchange message tracking not working ?

Post by jvierra » Tue Jun 26, 2018 11:22 pm

I need the exact code that caused that issue.

Locked