I'm using the C# command execution to switch off monitor
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
public class VAInline
{
[System.Runtime.InteropServices.DllImport("user32.dll")]
public static extern IntPtr SendMessage(int hWnd, int Msg, int wParam, int lParam);
public void main()
{
SendMessage(0xFFFF, 0x0112, 0xF170, 2);
}
}