This is aimed at Sirus but anyone can answer if you know...
I need to run this line:
C:\scripts\oldcmp -report -age 60 -users -b ou=secure,dc=region,dc=company,dc=com -sort pwage -realage -format html -bit -af "(!(useraccountcontrol:AND:=66048))" -file 60-day-expired
there are two problems I have. One...what is the proper command to execute them. I tried:
set shell=createobject("wscript.shell")
shell.run "C:\scripts\oldcmp -report -age 60 -users -b ou=secure,dc=region,dc=company,dc=com -sort pwage -realage -format html -bit -af "(!(useraccountcontrol:AND:=66048))" -file 60-day-expired"
set shell=nothing
Well that doesn't work. Not sure because I have the wrong syntax or because of the ! in the switches.
Ideas?

From the moment you were born, you were destined to die