O&O Syspectr: PowerShell – technical background

How does PowerShell work in O&O Syspectr

Actually, PowerShell works in O&O Syspectr just as if you were working directly on the computer. In addition, O&O Syspectr offers the evaluation of the outcome of the PowerShell script and scheduling, as you may know from Linux crontab . This makes it possible to execute PowerShell scripts at specific times, without having to use the Windows Task Scheduler. With the help of the PowerShell scripting app, you are no longer bound to the restrictions of popular IT monitoring solutions. It is finally possible to customize and extend your wishes according to your IT monitoring!

Create and manage PowerShell scripts in O&O Syspectr

PowerShell scripts can be fully managed in O&O Syspectr via the web application. You can create, edit, activate and deactivate, and delete scripts. In other words, you can create, edit and see the results of a script for one of your computers from virtually anywhere in the world. Scripts that you have created once can also be applied to any other computer.

Evaluation of the results of PowerShell scripts

Each script provides a result value (so-called. exit code) at the end. This value influences the status of your computer and is interpreted as follows:
  • exit 0 (or no exit code was delivered): Status OK (green)
  • exit 1: Status warning (yellow)
  • exit 2 or greater: Status problem (red)
At the same time, the latest issue line of your script is up to 2,048 characters long and stored and recorded in the history of your computer. Of course, you can subscribe to an alert that sends you the exit code and that issue via mail; that way, you can see immediately, if an automated script signals a warning or an issue.

Execution of scripts

Executing scripts is possible as follows:
  • Manually – manual execution using O&O Syspectr
  • Automatically during system start – the script runs at each system start up
  • Automatically at certain times – the times can be specified using crontab-Syntax

Syntax of scheduling

If the user-defined execution is enabled, the scripts can be run automatically. The line consists of the following 5 fields: [Minutes] [Hours] [Days] [Months] [Weekdays]

Definition of fields

FieldValid valuesNotes
Minutes0...59 | * for each minute
Hours0...23 | * for each hour
Days1...31 | * for each dayIf days and weekdays are used together, they are not evaluated together but individually (see exception on examples)
Months1...12 | * for each month
Weekdays0...7 | * for each weekday0 or 7 stand for Sunday

Examples for scheduling with O&O Syspectr

100***Each day ten minutes to midnight.
100**3Each Wednesday ten minutes to midnight.
0****Every day on each full hour
*/154-16**6,7Every 15 minutes between 4 a.m. and 4 p.m. on Saturday and Sunday.
*****Every minute (minimal setting option)
*141-1051On May 1 to 10 and on each Monday in May at 2 p.m.; This is an exception, when days and weekdays are used together


The PowerShell is available in different versions. To find out which version is installed on your system, you can investigate using O&O Syspectr in the Dashboard. Basically:
  • Version 1.0 is obsolete and should no longer be used
  • Version 2.0 is pre-installed by default in Windows 7. It can be downloaded and installed free of charge for Windows XP, Windows Server 2003 and Windows Vista.
  • Version 3.0 is standard since Windows 8. It is also available for Windows 7 SP1 and Windows Server 2008 R2 SP1.
  • Version 4.0 is the current version and can be installed as component of Windows Management Framework 4.6.1.
The different versions have partly different syntax and functions so that adjustments to the scripts for each version may be necessary.

Help and feedback

Are you interested in monitoring a specific problem with O&O Syspectr and need assistance? Our support team is happy to help. Please feel free to contact us with a brief description of your problem and we will work towards helping you solve it! You have questions, problems or suggestions? You can reach us directly using the Feedback button in the dashboard of your personal O&O-Syspectr account!

Register now and get O&O Syspectr for free!

Sign up