Technical FAQs

Ask a Question

PME 7.2.x database backup and maintenance tasks not completing

The database backup and maintenance tasks are not completing successfully in PME 7.2.x. though there are no errors in the Event Viewer Applications log or in the Windows Task Scheduler

When attempting to run the database backup PowerShell script manually the user will receive the following error.

PS C:\Program Files (x86)\Schneider Electric\ION Enterprise\config\cfg\DbScheduledTasks> .\backup.ps1 nom
The term 'try' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again

Product Line:
Power Monitoring Expert (PME) 7.2.x

Windows PowerShell


The system is running PowerShell version 1.0 but the PME PowerShell scripts require PowerShell version 2.0 or higher to run.

You can verify which version of PowerShell you have in 2 ways:

1) Run the command, $Host.version and it will display the PowerShell version as the Major build number:

PowerShell 1.0:
Major  Minor  Build  Revision
-----  -----  -----  --------
1     0     0     0

PowerShell 2.0:
Major  Minor  Build  Revision
-----  -----  -----  --------
2     0     -1    -1

or  for PME8,

PowerShell 4.0:
Major  Minor  Build  Revision
-----  -----  -----  --------
4     0     -1    -1​

2) Check the copyright date when you open the PowerShell window.

Copyright (C) 2006 = PowerShell 1.0
Copyright (C) 2009 = PowerShell 2.0
Copyright (C) 2013 = PowerShell 4.0​

  1. For PME7.2.x, install PowerShell 2.0 in the Windows Management Framework Core.
  2. You can download the Windows Management Framework Core at the following link.

       3. If running Windows Server 2008 you will be required to reboot the server for the changes to take effect.
       4. After updating PowerShell the Windows Scheduled Tasks for database backups and maintenance will now complete.

You can always check operating system requirements for Power Shell on this link:
Was this helpful?
What can we do to improve the information ?