giridhar13 Posted March 28, 2012 Posted March 28, 2012 (edited) I am trying to recycle IIS7 App pool on remote machine and I have executed followingGlobal $oAppPool = ObjGet("IIS://localhost/W3SVC/AppPools/DefaultAppPool")$oAppPool.Stop()Sleep(15000)$oAppPool.Start()I got following error..$oAppPool.Stop()$oAppPool^ ErrorVariable must be of type "Object".Could someone help me resolve this issue.Thanks in advance Edited March 28, 2012 by giridhar13
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now