This script will print the endpoint's Remote connection logs using power shell.
Please run this script as "System User"
'$days=-3' -->Enter your Preferred value to print the logs in the below script.(For Ex: -3 will print last three days log)
This script is only supported on Windows 7 and Windows 10.