Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Default powershell report report.ps1 fails with error "Could not convert string to datetime"
Description
An attempt to run the provided report - reports.ps1 monitoring servers fails with the following error:
"Could not convert string to datetime".
Cause
PowerShell uses the system locale to determine the default character set, and the time and date format. Dependent on location the system locale set may not be appropriate.
PowerShell may be using a locale to read a date format as month/day/year, where the format may need to be day/month/year.
For example:
PowerShell cannot determine that 16/03/2015 is March 16th, it cannot determine the 16th month, 3rd day.
Resolution
Check your Locale 'Time and Date' Format to ensure it is set accordingly.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
AppAssure
5.4.3
Topic(s):
Best Practices
Article History:
Created on: 10/1/2015 Last Update on: 5/6/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.