rsn Posted January 30 Share Posted January 30 I'm trying to do away with using WMIC (since it's deprecated). One example is the following: wmic path win32_UserProfile Where SID="<SID>" Delete Generally I'll use something like: $WMIObj.ExecMethod("Class", "Method", "Params") But there's no method to call that performs the delete. Is there just an Exec versus ExecMethod? If so, how/where do I find the syntax? Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now