Search computers for specific files in domain

I need to find specific files in computers in domain environment. I tried several scripts (VBS and PS1) but I couldn't find antything really works for me. How can I manage this using PowerShell? (PS: I am a total newbie)
Thank you very much.

As jrv mentioned, this forum is really for answering specific scripting questions. It's not a "write a specific script for me that meets my specifications" forum. Please understand that the forum participants are all volunteers and we really don't
have the resources to do free consulting. (See the forum guidelines at the top.)
If you need for someone to write a script for you, there is a
script request page. Be aware that you will need to write a detailed specification so the respondent knows exactly what you want to do. As with here, there is no guarantee of a response (or that someone will take the time to do this for you).
If this is critical to your business, you will probably need to pay a consultant.
-- Bill Stewart [Bill_Stewart]

Similar Messages

  • Searching directories for specific file extensions

    I wanted to try something, and that was to create a file with basic text loos it some where on the HD and make a program that would search the directories (So lets say you put in C:\bla\ ) for the file matching the extention (already set by the program) as say .doc - it would then open all of those files (while loop) and scan them recording data (which im not sure what yet) and printing specific data to a file
    most of this I know how to do including nav to the directory, what i dont know how to do is make the program scan the directory for the file and open it.

    Adrienk wrote:
    Can you give me some examples of file listing and searching?I could, but so can google.
    like links to documentation or examples of it in use?Bookmark this. [http://java.sun.com/javase/6/docs/api/]. Always have it open when you're coding or even designing with Java.
    open as in open to readStill not clear. You mean you just want your program to read in the contents of the file and manipulate them? Or do you want your program to display the file? Or do you want it to be "opened" by its default app, e.g. if it's a .doc file, open that document in Word?

  • Search For Specific File Type (eg .txt)

    I know how how to find files in a folder using Java but how do you search for specific file types. I am looking only include files with the extension .txt in my search.

    Cheers. I already looked at that. Got a program that parses a XML and had a play about with it. Can print the contents of tags in my XML. Its just that im trying to parse my XML and have the contents of the starts_with tag to appear in startsWith(or a variable to which this has been assigned) and the contents of the extension tag to appear in endsWith. Totally clueless on how to go about it.
    Below is my class. Would be greatful if you have any ideas.
    import java.io.File;
    public class FindLatestFile {
                 public static File getLatest(File thisDir){
                         long latestModDate = -1;
                         File latestFile = null;
                         File[] fileList = thisDir.listFiles();
                         for(int i=0; i < fileList.length; i++){
                             File file = fileList;
         if (file.lastModified() > latestModDate & (file.getName().startsWith("A") & file.getName().endsWith(".txt"))) {
         latestModDate = file.lastModified();
         latestFile = file;
                             return latestFile;

  • Always scrolling back to the search bar for pdf files in ibooks. Is there a way to fix this?

    ALWAYS scrolling back up to the search bar for pdf files in ibooks. Is there a way to fix this?

    Care to share your fix with the rest of the community in case anyone else has the same problem or since you found the solution are you off to never be heard from again?

  • How to create search path for the file on the desktop..

    hello experts..
          I have used gui_upload module to upload the data from flatfile to the internal table, in that how can i create search path for the file selection in the selection screen, also please help me the code to update the ztable.
    thanks

    HI
      If iam not wrong you want to select a file from a location that you don't know so if this is ur problem then use the function module
    F4_FILENAME
    this FM helps to locate and select the desired file from the system.
    Sample code that you can check is
    How to get windows filename
    PARAMETERS: lv_file LIKE rlgrap-filename.
    Method 1
        CALL FUNCTION u2019KD_GET_FILENAME_ON_F4u2019
        EXPORTING
        MASK = u2019,.txt,.*u2019
        STATIC = u2019Xu2019
        CHANGING
        FILE_NAME = LV_FILE.
    Method 2
    CALL FUNCTION u2019F4_FILENAMEu2019
    EXPORTING
             program_name = syst-cprog
             dynpro_number = syst-dynnr
             field_name  = u2019 u2019
         IMPORTING
             file_name   = LV_FILE.
    Regards
    Pavan

  • Any SYNC APPs that allow for specific file synchronization for the MacBook Pro??? Please advise..

    Any recommendations for a sync app that allows for specific file synchronization rather than just a complete back-up program?  I want to be able to synchronize certain files only on multiple external hard-drives?
    FYI:[[Using a 15" MacBook Pro on Mac OSX Version 10.6.7, Processor 3.06 GHz Intel Core 2 Duo, Memory 4GB RAM 1067MHz DDR3]]

    I'm pretty sure you should keep Boot Camp 2.1, Scorpio.
    I'm not sure about the driver only or complete reinstall question though.
    Probably the best place for an answer to this would be over in the BootCamp "Installation and Storage" forum at http://discussions.apple.com/category.jspa?categoryID=237 where the "specialists" in this sort of matter hang out.
    Post a link to this thread over there as well, so that people will know what has already been suggested.
    Cheers
    Rod

  • How do I search iPhone for a file?

    How do I search iPhone for a file? I think there is an easy search function, but I cannot find it on my iPhone 4s (IOS8)

    The search function is Spotlight. You can open it by swiping down with one finger -- start the swipe on the screen, not above the top of the screen.

  • Spotlight: How to search for specific file types?

    Hi. I'm looking for bookmarks that may contain a particular word. Is there a way to filter my spotlight (or finder) searches just for a particular file type? I know you can sort results by file type, but it's rather just filter in the first place...

    Command F should do it. Once the search window appears, you should see a drop down box headed kind and next to it one headed any. Select PDF from the any one. Click the plus button, and another field will appear and you can see again more drop down boxes. You just want to set these up so you end up with name and contains, you can then add your text to the remaining field.
    Also see [this|http://apps.tempel.org/FindAnyFile/index.html]
    Message was edited by: gumsie

  • How to implement search engine for pdf file.

    Hi
    I am newbie to AIR technolgy .how  to implement search engine . when i enter the name of file in search box , it should fetch correspoding  the pdf file .
    Please help me out
    Thanks
    Mohan

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • Restrict F4 search results for specific plants / sales org / purchasing org

    Hello All,
    We have a project where a particular plant / sales org / purchasing org needs to be restricted because of the top secret data for that business.  We would like to be able to restrict the search results that are displayed based on sales org / plant / purchasing org in the F4 help.  If a user does not have access to the data / documents related a plant / sales org / purchasing org, we do not want the user to be able to see doc numbers, ship-to's, material numbers etc... My question is where do we restrict F4 results for the Sales and Distribution, Finance, Materials Management, Production Planning, Logistics, etc... modules?  Thanks in advance for the help.
    Jordan

    We can set authorization for specific plants and other organization levels,contact the basis team and discuss about the authorization

  • How to SEARCH for specific file TYPES, e.g. PDF?

    If I know the title has in it "resume" and I know it's a PDF, how do you search for all PDF files that have the word "resume" in the title?
    AND..
    How would you search all PDF files that had the word "supervisor" inside the document?
    Thanks

    Command F should do it. Once the search window appears, you should see a drop down box headed kind and next to it one headed any. Select PDF from the any one. Click the plus button, and another field will appear and you can see again more drop down boxes. You just want to set these up so you end up with name and contains, you can then add your text to the remaining field.
    Also see [this|http://apps.tempel.org/FindAnyFile/index.html]
    Message was edited by: gumsie

  • Searching for specific file extensions etc?

    Is there a way to search for just, say: .jpegs or even 'Folder'?
    An 'advanced' search if you will?
    I know I can search and get all 'kinds'; .jpegs, folders, mail messages, .doc and then click on Kind and get them grouped.
    BUT, can I just search for .jpegs etc on my computer??
    Thank you!!

    Create a Smart Folder.
    In the Finder, do +File > New Smart Folder+
    In the grey area at the top of the Smart Folder window, click +This Mac,+ and Filename (on the left) and then the "+" sign on the right
    In the new row that opens, click the dropdown box on the left and select +File Extension.+
    Enter .jpg in the box after the word "is"
    You will get a listing of all the .jpg files on your Mac
    If you want to save the Smart Folder for ongoing use, click the Save button in the upper right corner, give your folder a name & location, then click Save

  • Can I only search for specific file types?

    Oftentimes I need to pickup just the InDesign file. I sort by type but there are word docs, images (lots of them!), web pages, etc. Is there a way to search in Client A's folder and all sub-folders for just InDesign files? Thx.

    You can use the filter panel for this. Click on the triangle in front of
    File Type (if it is not already open yet because it does so the moment there
    are two or more different File types in the folder you pointed Bridge to)
    Click on the File type you want to show and only those will appear in the
    content window
    Is there a way to
    search in Client A's folder and all sub-folders for just InDesign files? Thx.

  • Need to scan folders for specific files

    Im trying to write a class that will go through a folder and all its subfolders scanning for files with specific extentions. I have no idea where to start with this. It would be great to get a modist push in the right direction.

    and all its subfoldersAdditionally to 571053 post, you'll have to do it recursively.
    All hail Sun!
    384493

  • Unable to change File Type for specific file extensions

    Under Preferences->File Types different file extensions are assigned a file type e.g. The file extension .pkb is assigned the file type of PL/SQL. The file type of PL/SQL then opens the Code editor.
    I have a user who would prefer to open .pkb files in the SQL Worksheet editor but I am unable to change the file type to SQL Script as the option is greyed out.
    How do I change the File Type for these extensions? Is there a preferences file I need to change?
    Version: 3.2.20.09
    Thanks for your help.

    Hi,
    There is no preference but it turns out you can manually edit one of the preferences.xml files to force PL/SQL types to use the SQL worksheet editor. For SQL Developer 3.2.20.09.87 that file is system3.2.20.09.87\o.sqldeveloper.11.2.0.9.87\preferences.xml and will be located (on Windows 7, for example) in directory C:\Users\<userid>\AppData\Roaming\SQL Developer
    No guarantee this will work in future versions of the product, but for now you can add the following two xml blocks...
    For example, for .pls, add to <extensionToContentTypeMap ...>
                <Item>
                   <Key>.pls</Key>
                   <Value>TEXT</Value>
                </Item>
    and <userExtensionList>
                <Item>
                   <docClassName>oracle.ide.db.model.SqlNode</docClassName>
                   <userExtensions class="java.util.ArrayList">
                      <Item class="oracle.ide.config.DocumentExtensions$ExtInfo">
                         <extension>.pls</extension>
                         <locked>false</locked>
                      </Item>
                   </userExtensions>
                </Item> I researched this a while back after reading through some forum thread where someone claimed the PL/SQL file extensions got opened in the SQL editor in his environment, but without stating any specific release information. Possibly it worked for him then due to different product behavior (whether intentional or a bug), or perhaps even due to the technique described above.
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for

  • Windows 2007 Update error 8000FFFF

    My new Windows 2007 Dell laptop does not install any updates due to error 8000FFFF. I tried windows Fixit but that doesn't solve it. Can you help me?

  • How to store images in access

    please tell me how to store images in access

  • Mac Mini Switch

    Hi, I currently have a iMac G4 flat panel. I am thinking of getting the intel mac mini. I have a few questions. 1. Can I replace OS 10.4 tiger with 10.3 panther because I have found that tiger does not suppost the internet connection I have qhich is

  • PO on Hold

    hi   i have userd the hold option for PO i needs to process that PO how to do this?

  • Wrong photo count on my.mac page

    WHY DOES THE .MAC (page with email,account,groups, www. etc.)PAGE SAY 59 PHOTOS WHEN IN FACT THE MAIN PAGE HAS FOUR PHOTOS & THE PHOTOS PAGE HAS 27, TOTAL 31?