C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -Sta 'row,value'; $now=Get-Date; 'time,'+ $now.ToShortTimeString();
The command returns the system time together with the necessary headers in a CSV based format. This is required for parsing by the Toolkit plug-in.
The PowerShell command is defined in the Toolkit sampler's "Sampler script" field as seen below:
The command output will be displayed in the form of a dataview in the Active Console like this.
Geneos users can refer to the Toolkit Plug-In User Guide