could you explain how to create a custom sensor to know the current OS version on PowerShell? The command is the following:
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name ReleaseID | Select-Object ReleaseID
The result should be the release number and if I run manually it works, but from PRTG custom sensor never works for me.
Thanks in advance , regards.