.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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -