.net - windows task schduler keep showing 0x41301 -
i have wrote following .ps1 file:-
[system.net.servicepointmanager]::servercertificatevalidationcallback = {$true} $request = [system.net.webrequest]::create("https://localhost/") $response = $request.getresponse() $response.close()
and set task within windows server 2012 r2 task scheduler , call te above ps1 file.now run task manually, keep showing "0x41301" means still running ... although if directly run above code inside powershell window end in less second ? why calling ps1 using task schuler never ends ?
Comments
Post a Comment