This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Trigger off event ID 10000 (Network Connected) to check if we're on the papercut network, and if | |
'PaperCut client is running. If it's not, try to start it. | |
strSearchSuffix = "REPLACE_WITH_DOMAIN_SUFFIX_TO_CHECK" | |
strFindProcessName = "pc-client.exe" | |
wscript.sleep 5000 'sleep 5 seconds to allow network to configure | |
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") | |
Set objShell = CreateObject("WScript.Shell") |
NewerOlder