Hi all, Please refer the below script of monitoring to Generate alert if a network drive is mapped or not.
Enter the Drive letter for which you want to check the mapping Status.
DriveLetter = 'P: '
Please refer the wiki guide for how to use the custom monitoring scripts:
You need to run the script as System User
Get Alert whether network drive is mapped or not