4 replies
by john.anderson Accepted solution
by dumphrey Accepted solution
will give you the data you want in 1 short batch file.
*******bat start*****
del withDesc.txt
del nameDesc.txt
dsquery computer -name * -desc * > c:\withDesc.txt
for /F %%a in (withDesc.txt) do dsget computer %%a -dn -desc >> c:\nameDesc.txt
findstr /C:"" c:\nameDesc.txt > sorted.txt
REM where it says
by robo_dev Accepted solution
by dumphrey Accepted solution
(since my budget = ZERO). I have to make do with free/FOSS/built in as much as possible. I guess I could learn powershell, but I like knowing it will all be on the (windows) machine I need with no install.
Seriously, I can't even get replacement UPSs approved...
This discussion is closed to new replies.
Trending Software posts
Sort by Trending