Discover our Clipsal Smart Home packages as seen on The Block 2018

in location

OR

I'm looking for

  • Wholesalers
    • Uncheck All Check All
  • EXPERTISE
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All
OR

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    Power Monitoring Expert (all versions) - How can I trouble shoot problems with the powershell scripts used in the Task Scheduler database tasks

    Issue
    Power Monitoring Expert (all versions) - How can I trouble shoot problems with the powershell scripts used in the Task Scheduler database tasks

    Product Line
    Power Monitoring Expert 8.0
    Power Monitoring Expert 7.2.x

    Environment
    Windows Task Scheduler
    Windows PowerShell (x86)


    Cause
    Powershell scripts run from the Task Scheduler do not display helpful messages why a task has failed.

    Resolution
    If the Task Scheduler database tasks fail for some reason, Task Scheduler provides no useful information as to the cause of the failure. This article describes how to run the database tasks directly within a PowerShell window. When run in this mode, many helpful messages will be written to the console.

    So how do I run the power shell scripts directly?

    1. You will need to launch a PowerShell window, If you are using Windows 2012, you can use the Search function and type Power Shell. Be sure you choose 'Windows PowerShell (x86)'

    2. Go into Windows Task Scheduler, right click on the task you want to run and choose Properties
    3. Click on the 'Actions' tab, select the Action, and choose 'Edit'


    4. Copy the contents of both the 'Program/script/ and 'Add arguments' text boxes into notepad. Be sure that you include the entire contents of both boxes.

    You should have something like this:
    C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe -noninteractive -nologo -file "C:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\config\cfg\DbScheduledTasks\Backup.ps1" -DatabaseIdentifier ION

    5. Copy and paste into the Powershell Window and run.


    When run in this mode you will see all the DEBUG messages, and will see where the task fails.

     

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance