I need to verify what members a user is part of before
continuing a vbs script. SO, I found the ifmember.exe microsoft utility can do this.....
I am trying to parse the output of the IFMEMBER.EXE microsoft utility to a text file. I can get it to run when I do it manually from an open command window. However, I cannot get it to work from vbs. Any ideas.
Here is the code:
ifmember /list >>c:\temp\usergrouplist.txt
Here is an exceprt from my vbs where I am attempting to run it:
strScript = "IFMEMBER /list >>c:\temp\usergrouplist.txt"
set wshShell = Wscript.CreateObject("WScript.Shell"
intReturn=wshShell.Run(strscript,1,TRUE)
Thanks!
continuing a vbs script. SO, I found the ifmember.exe microsoft utility can do this.....
I am trying to parse the output of the IFMEMBER.EXE microsoft utility to a text file. I can get it to run when I do it manually from an open command window. However, I cannot get it to work from vbs. Any ideas.
Here is the code:
ifmember /list >>c:\temp\usergrouplist.txt
Here is an exceprt from my vbs where I am attempting to run it:
strScript = "IFMEMBER /list >>c:\temp\usergrouplist.txt"
set wshShell = Wscript.CreateObject("WScript.Shell"
intReturn=wshShell.Run(strscript,1,TRUE)
Thanks!