Hi Guys,
I am struggling a little with this one.
We have a legacy 2003 domain and require to find computers still enabled but have been inactive for 4 weeks or more.
I am limited to using dsquery for this.
What out put I would like is Computername, OS, and possibly last modified date.
I have tried -
dsquery computer -inactive 4 -limit 0 | dsget computer -dn -disabled | find "no"
but get this -
find : FIND: Parameter format not correct
At line:1 char:72
+ dsquery computer -inactive 4 -limit 0 | dsget computer -dn -disabled | find "no"
+
~~~~~~
I was wondering id anyone can help with this?
Thanks
Si