Any chance to extract/search a doc/xls from all sites

Hi,
I have a sharepoint server with over 30 sub-sites but only one or two turned on the search/indexing function. Any chance I can issue a PowerShell command to search through all the sub-sites and locate a file ?
Thanks !!

Hi,
You may try below script
function
Get-DocInventory() {
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $farm
= [Microsoft.SharePoint.Administration.SPFarm]::Local
    foreach ($spService
in $farm.Services) {
        if (!($spService
-is [Microsoft.SharePoint.Administration.SPWebService])) {
            continue;
        foreach ($webApp
in $spService.WebApplications) {
            if ($webApp
-is [Microsoft.SharePoint.Administration.SPAdministrationWebApplication]) {
continue }
            foreach ($site
in $webApp.Sites) {
foreach ($web
in $site.AllWebs) {
foreach ($list
in $web.Lists) {
if ($list.BaseType
-ne
"DocumentLibrary") {
continue
foreach ($item
in $list.Items) {
$data
= @{
"Web Application"
= $webApp.ToString()
"Site"
= $site.Url
"Web"
= $web.Url
"list"
= $list.Title
"Item ID"
= $item.ID
"Item URL"
= $item.Url
"Item Title"
= $item.Title
"Item Created"
= $item["Created"]
"Item Modified"
= $item["Modified"]
"File Size"
= $item.File.Length/1KB
New-Object
PSObject
-Property
$data
$web.Dispose();
$site.Dispose()
Get-DocInventory | Export-Csv -NoTypeInformation -Path c:\inventory.csv

Similar Messages

  • Can not communicate any with Server, BUT I CAN CONNECT SUCCESS FROM "MANAGE SITES"

    I can NOT see Server Files in dw cs6 , so i can NOT upload/download or communicate any with Server, BUT I CAN CONNECT SUCCESS FROM "MANAGE SITES"...WELL WHERE THE PROBLEM?

    From the File view pop-up menu, choose Remote server

  • How can I easily transfer file (pdf, doc , xls) from one iPad to another. The files are in iBooks collections?

    I have just purchased a new iPad2.  We have an iPad and would like to transfer files that are in iBooks as pdf and doc to the new iPad2 without e-mailing each as a attachment.  Any ideas?

    If you're syncing the documents from iBooks to your computer using iTunes, you can just sync them onto your new iPad the same way.
    If you don't feel the need to use iBooks, you can use a cloud storage app like Dropbox or a file management app like Goodreader.

  • Are there any texting apps which let me recive picture from all cellphones?

    So I've tried some of the texting apps for my ipod touch and none of them so far let me recive pictures from cellphones. At this point im willing to pay for a picture reciving texting app. Any help guys??

    How about one like this?
    http://itunes.apple.com/us/app/itim-text-mms-messenger/id329444425?mt=8'
    B-rock

  • Configure search results to display only this site

    HI
    when i search anything in my publishing site the search results display from all sites in sharepoint farm.
    how i configure search results to display only this site:
    i found there is no option in sitesettings>searcscopes 
    and i created a custom search results page.
    adil

    Hi adil,
    For your issue, you can go to Site Settings -> Site Collection Administration -> Search Settings -> set  "Site Collection Search Dropdown Mode" to "Show scopes dropdown":
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Is there any way to pull out computer Mac addresses from GPO?

    Hello!
    I was wondering if there is any way to pull out the mac address from all the computers in the organisation via the group policy?
    It would be rather difficult to pull out mac address one by one from each computer.
    Appreciate your assistance and advise on this!
    Thank you so much :)

    You can use group policy to run a startup or logon script to get the information and write it to some file/database.
    You could also get the information remotely using a script.
    You could also as your network guy for a list of IPs and MACs they see.
    Group policy is intended to make settings, not to get information. However you can
    set a startup or logonscript that reads out the information through group policy.
    A sample script surely is available in the scriptcenter, but I think help on the specific script is more something or the scripting forums.
    MCP/MCSA/MCTS/MCITP

  • Cannot receive .doc & .xls files

    I have searched the board, and read that a number of owners receive doc & xls files with no problems. I do receive the e-mail sent to my iPhone, but when it tries to display the file, it always states ( This message has no content ). I use embarqmail, and nothing is blocked. I do receive the attached files in my regular e-mail. They are short, xls = 56K, doc = 19K. Have tried many times, with different files. Any help will be greatly appreciated. Thanks Guy

    what i have found is just that the edge data network is slow to actually download the attachment with the email... the email text comes in quickly but the attachment may take several minutes to actually download and show up...i have found that when i get and attachment i go into my inbox and just let it sit there for several minutes until the paperclip icon shows, then go into the email and the attachment should beavailable, if you go into the email before edge has downloaded it you might not ever get it on the phone... best to just wait until its there for sure...i have had to wait up to 30 minutes for the attachment to show after i received the email...hope this helps

  • Adobe Creative Suite 5 Web Premium Student and Teacher - Is there any chance to get a CC discount?

    Hi there.
    I'm currently a user of Adobe Creative Suite 5 Web Premium which I bought when I was eligible for Student&Teacher version. I'm not a student, neither a teacher anymore. Is there any chance to get a discount for Creative Cloud?
    I thought I would be able to get a discount due to the fact I have previous version of Adobe software, but it seems that it is not for people who bought S&T versions.

    Hi,
    first of all look at your "Help" on top, where you could go to this:
    http://www.adobe.com/ap/support/contact/ ("Need a different country or region?" = Asia Pacific - English) or
    http://www.adobe.com/support/service/
    Also what concerns the service from ADOBE support I personally made very good experiences with the telephone hotline.
    All other product help
    800-833-6687
    Monday-Friday, 5am-7pm PST
    And particularly well I found that Adobe now also offers the chat. All I can give you this link:
    http://kb2.adobe.com/cps/403/kb403784.html#Free Support
    To 1.: Did you read Adobe's terms and conditions? If so, the question should answer itself. Student version prohibit commercial work, I could read it in a former thread, an academic version would allow it and come with full upgrade rights. (You could use search function here on top.)
    To 2.: Since I have no experience, I would even here use Adobe's or Google's search function.
    To 3. Yes.
    Hans-G.

  • How to attach files like .doc, .xls, .pdf  and so on in Design Editor (WYSIWYG)

    Hi,
    I want to attach files like .doc, .xls, .pdf. etc in my Design editor, instead of importing those files. Is there any way to do that. Please help.
    Thanks,
    Vinay Jaassiel Kankipati
    Technical Writer

    Hi Vinay.
    Would these files be editable and if so, where would they reside? If you want people to be able to edit the files, you need to consider where the files are located. If you link directly to a file in RoboHelp, a local copy is copied into your project as a baggage file. If a user then clicks on the link, the local copy is opened and any edits can not be saved back to the WebHelp's output location. However if you were to create an image (like the ones you used above) and added a hyperlink to the file's location - i.e. on a network drive outside the project, this would enable users to edit and save changes to the original file location. Hope this helps.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Any chance to configure TURN proxy from application?

    Hi,
    Have got a TURN proxy working as a remedy for the symmetric NAT issue.
    However, the way to configure this proxy in the mms.cfg file is rather inconvenient for two reasons:
    It works for all p2p applications running on the same Flash player instance, not just ours.
    The directory where mms.cfg is located is locked for many users.
    I understand that this way of configuring makes sense for the original use case (UDP blocked in organization's firewall), but for symmetric NAT case it is problematic.
    Question: is there a way we could specify the proxy URL from the application through some sort of undocumented API feature?
    - Frans

    900076 wrote:
    Hi All,
    In our environment, we integrated EBS,Liferay (As front end application) with OAM, so now the end url is as below :
    http://mycompany.com:7778/product/
    So any chance to hide or protect the 7778 port (like http://mycompany.com/product/).
    Any idea please,
    Thanks in advance,
    Regards,
    900076.Use port 80 -- Please see these docs for details.
    How To Configure Apache In R11i (9iAS) to Listen on a Restricted Port Such as 80 or 443 [ID 356080.1]
    How To Configure Apache In R12 (10.1.3) To Listen on a Restricted Port Such as 80 or 443 [ID 578001.1]
    Unable to login after Changing the Web Port to 80 [ID 1326966.1]
    Thanks,
    Hussein

  • Help! How to read N9500 .doc/.xls files in E90??

    Is there any file converter or specific application to read N9500 office file (.doc, .xls) in e90?? geez.. very annoying indeed..
    thanx

    With N9500 you can save to different format? So save in 9500 to different format and the should at least be opened in PC and again maybe in E90 also.
    So, 9500:
    Menu, Save, Save as... And Change format. Default is epoc / symbian i think (though odd if E90 does not support symbian format)

  • Any chance to see the linux-vserver patch included in kernel26 ?

    Hi,
    Is there any chance to see the vserver patch is included in the kernel26 or kernel26ck some day ?
    I often use it (am I the only one ?) and I'd love to be able to use it out of the archlinux box.
    Thx and congrats for the work.
    Last edited by arno (2007-06-21 11:22:04)

    Sorry, I can get into more details :
    Lazily quoting the http://linux-vserver.org web site :
    "Linux-VServer provides virtualization for GNU/Linux systems. This is accomplished by kernel level isolation".
    The main advantage over Qemu, Virtualbox or Vmware, is that there is only a very little performance loss for the virtual hosts. Virtual hosts, which all are linux hosts are isolated from eachother, no hardware emulation is done. You can see it like a kind of "super chroot/jail".
    Basically, this is composed of two parts : a kernel patch, ans some userland utilities. The kernel patch (http://ftp.linux-vserver.org/pub/kernel … 0-rc3.diff) applies easily against a vanila kernel. The linux-vserver guys follow very well the kernel updates and I've been applying the patches for several versions now, without problem.
    Userland apps have already been ported for Archlinux (http://oldwiki.linux-vserver.org/ArchVserver), even if they look a little outdated and can't be found on the archlinux.org package search engine.
    The only hitch is the need to build a home-maid kernel.
    I thought this patch inclusion could be of someone else's interest.
    What is Archlinux kernel patch admittance process ?
    Do you provide only vanila kernels ?

  • I recently had to create a new profile, and thought I had backed up my bookmarks. They are now gone and I have not been able to restore them. Any chance they can be recovered? Thanks!

    I recently had to create a new profile, and thought I had backed up my bookmarks. They are now gone and I have not been able to restore them. ANy chance they can be recovered? Thanks!

    It is possible that you forgot to add a file extension (.json) while saving and in that case you may be looking for the wrong file.
    Also make sure that you search for hidden files and folder in case the file was saved in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]
    Firefox won't import the file without a .json file extension ("Can't process ..."), but you can create a backup with any name.

  • Still running adobe cs2 on leopard. but now get unexpected quit msg. and wont launch. any chance that when i installed then uninstalled GENIEO yesterday something went wrong? how to fix? can i reinstall cs2 from original discs? by stephenftlaud

    still running adobe cs2 on leopard. but now get unexpected quit msg. and wont launch. any chance that when i installed then uninstalled GENIEO yesterday something went wrong? how to fix? can i reinstall cs2 from original discs? bystephenftlaud

    Hi,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Open Console in Applications>Utilities & see if there are any clues or repeating messages when trying to open CS2.

  • Still running adobe cs2 on leopard. but now get unexpected quit msg. and wont launch. any chance that when i installed then uninstalled GENIEO yesterday something went wrong? how to fix? can i reinstall cs2 from original discs?

    still running adobe cs2 on leopard. but now get unexpected quit msg. and wont launch. any chance that when i installed then uninstalled GENIEO yesterday something went wrong? how to fix? can i reinstall cs2 from original discs?

    Hi,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Open Console in Applications>Utilities & see if there are any clues or repeating messages when trying to open CS2.

Maybe you are looking for

  • INDESIGN CS5 V. 7.0.4: Can't Open a .jpg file in InDesign  made with InDesign (It's Grayed Out)

    I do have this problem with placing jpegs in InDesign. Very specifically, I can't place or relink to a jpeg that was made by InDesign (export page > jpg), although I can drag and drop it into the file, and it shows up correctly. I can place or relink

  • Retrieving BLOB in CMP2.0 from Oracle 8.1.7.3

    Hi all, In one of our project we are using CMP 2.0 and WLS8.1 SP2. While storing BLOB into Oracle (8.1.7) database we are not facing any issue. But retrieving the BLOB from the database throwing error. In weblogic.cmp.jar.xml I have defined the datab

  • Surprised concerning size when measures added in cube

    Hello I am surprised to see that the size of the cube increases only by 14% when 3 measures are added in the cube with only one measure earlier. Initially, I maintained a cube with only one measure paidamt with datatype number(19,4). The tablespace s

  • Creating a form with a skip pattern (skip logic)

    Hello - Using LifeCycle Designer 7.0 I am creating a form with a simple: Yes/No radio button for one field(quesiton).  I would like to have the form skip to a later field(question) if they answer 'No'.  Can this be coded somehow in FormCalc? Is there

  • Center in Browser extension for CS6?

    Hello, In an older discussion it was suggested that someone look and try out a Center in Browser extension from Adobe Exchange to position their published Flash file in the centre of the browser, and I am wondering if there is a new version available