Solved

Searching a folder on domain attached workstations

Posted on 2014-02-26
2
248 Views
Last Modified: 2014-03-03
Hi

I need to search for an NTFS folder by the name of 'ABC' on all the workstations ( XP/Vista/Windows 7) connected to my 2003 AD domain and output the results on a shared drive.

I have SCCM 2012 but can't find any option to search for folder name string using local machine agents.

A script run via GPO seems like an option? Pls advise!!
0
Comment
Question by:fahim
2 Comments
 
LVL 31

Accepted Solution

by:
merowinger earned 400 total points
ID: 39891125
As a very simply Methode, you could create a Batch file like this

dir /s ABC > C:\searchresult_%computername%.txt
xcopy C:\searchresult_%computername%.txt \\server\share

Open in new window


Execute it as a package via SCCM on all Clients and make sure the the user or computeraccount executing the script on the Clients has access to copy the file to the Folder \\server\share
0
 
LVL 9

Assisted Solution

by:VirastaR
VirastaR earned 100 total points
ID: 39891732
Hi,

As per this the Search Folder feaure is removed in SCCM 2012.

Is there a way to recursively search thru SCCM 2012 collection folders?

Hope that helps too :)
0

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now