Can I find out who has opened a document in Sharepoint 2013 document library?

Is it possible to use PowerShell you find out who opened a certain document in a library in a users MySite? Or can I interrogate the audit logs?
I also have Harepoint installed, but I don't know if this works to a MySite document level?

Hello Alex,
Just save the file with .ps1 and run with Powershell.
you just need to enter the URL and Path as per your liking.
$rows=@()
$url ="https://SP2013.com/"
$site = New-Object Microsoft.SharePoint.SPSite($url)
$webs = $site.AllWebs
foreach($web in $webs)
$listCollections = $web.Lists
foreach($list in $listCollections)
if ($list.BaseType.ToString() -eq "DocumentLibrary")
$dList = [Microsoft.Sharepoint.SPDocumentLibrary]$list
$items = $dList.Items
$files = $dList.CheckedOutFiles
foreach($file in $files)
$wuse = $file.DirName.Substring($web.ServerRelativeUrl.Length)
#Write ($web.Url+ "`t" + $wuse+"`/" + $file.LeafName +  "`t" + $file.CheckedOutBy.Name + "`t" + $file.TimeLastModified.ToString()+"`t" + "No Checked In Version"
$row=New-Object System.Object
$row|Add-Member -MemberType NoteProperty -Name "Web Url" -Value $web.Url
$row|Add-Member -MemberType NoteProperty -Name "WUSE" -Value $wuse
$row|Add-Member -MemberType NoteProperty -Name "File Name" -Value $file.LeafName
$row|Add-Member -MemberType NoteProperty -Name "Checked out by" -Value $file.CheckedOutBy.Name
$row|Add-Member -MemberType NoteProperty -Name "Last Modified" -Value $file.TimeLastModified.ToString()
$rows+=$row
$web.Dispose()
$site.Dispose()
$rows|Export-Csv -NoTypeInformation -Path "D:\Rahul.csv"
Thanks and Regards Rahul Dagar

Similar Messages

  • I'm having network security issues, how can I find out who has been seeing my information on my laptop

    How can I find out who has been loging on or attached to my network and on to my computer remotly.

    Dartrath--
    Please give us much more pecific information as to why you think someone is doing this?
    What signs and symptoms are you experiencing?

  • How can I find out who has had unauthorised access to my iCloud account

    I have received an email to say that someone has accessed my iCloud account.  How can I find out details of who has done this ?

    You can't.  All you can do is change the password to deny future access.
    Are you sure the email is legitimate?  There have been numerous reports recently of forged emails like this trying to get people to click a link and disclose thier iCloud credentials.  Be sure you don't do this.  If you want to change your password, go to Apple's site here: https://iforgot.apple.com/password/verify/appleid?app_type=ext&app_id=93&languag e=AU-EN.

  • System log - how to find out who has deleted the req from cube.

    ^hello friends
    how can i find out who has deleted the request from cube ?
    i wanted to check the system log , that who has deleted the request from cube .
    could you please let me know how to check the same ?
    regards
    manoj

    Hi,
    Did you try the method I had suggested. It will work.
    Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
    But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
    Try that and you should get the log.
    Thanks,
    JituK

  • Find out who has given local administrator rights to standard domain user?

    In my Organization i have faced problems with domain administrator, it seem that all of a sudden a standard domain user is having Local administrator rights. Can anyone please help me how to find out who has given local administrator rights to that standard
    domain user account? 

    Hi,
    Based on your requirement, you need to enable the auditing in your Active Directory to identify the user/ group changes and WHO made the change etc.
    Checkout the below steps to enable auditing for AD User Changes,
    1. Open GPMC console, click Start --> Administrative Tools --> Group Policy Management.
    2. Right click the Default Domain Controllers Policy, and then click Edit.
    3. Navigate to Audit Policy node, “Computer Configuration/ Policies/ Windows Settings/ Security Settings/ Local Policies/ Audit Policy”.
    4. Now enable the Success auditing for - Audit Account Management and Audit Directory Service Access.
    5. Execute the command “GPUPDATE /FORCE” in the Domain Controller to force apply the GPO settings.
    For Windows Server 2008 R2 and later versions, additional configuration is required in  “Advanced Audit Policy Configuration” section in Default Domain Controller Policy.
    1. Go to the node DS Access (Computer Configuration/Policies/Windows Settings/Security Settings/Advanced Audit Policy Configuration/Audit Policies/DS Access.) 
        Enable Success auditing for the following settings
         - Audit Directory Service Changes
    2. Go to the node Account Management (Computer Configuration/Policies/Windows Settings/Security Settings/Advanced Audit Policy Configuration/Audit Policies/Account Management.) 
        Enable Success auditing for the following settings
        - Audit User Account Management
    After completing the audit settings, configure SACL in Active Directory Users and Computers console for enabling the geneartion of AD Change events in the eventlog as shown below,
    Checkout the below KB article on complete list on Event ID and Description for AD Changes,
    http://support.microsoft.com/kb/947226/en-us
    Regards,
    Gopi
    JiJi Technologies

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • Find out who has deleted a template

    In my system, a project template was deleted.
    It was in status "created" before, so it was possible to delete it for all users with the corresponding profile.
    Now I would like to find out who has deleted it. Is this possible?
    I assume that all data of the template is deleted, so it is not possible to find this information, right?

    Daniel,
    To my knowledge there is nothing like Deleting an object in cProjects they can only be Archived. One cannot delete a template right away, there is a process or sequence of steps to achieve deletion affect (archiving). In first place you need the authorizations to SAP_CPR_TEMPLATE_ADMINISTRATOR role.  Once you have this role  the templates needs to be moved through various statuses and then finally gets to Flag for Archiving, once you set the status flag for Archiving there are couple of back end jobs to be run that will actually delete / Archive the template. But still if you have added this template to your Favorites on the dash board you will still be able to get to it.
    Now I would like to find out who has deleted it. Is this possible?
    This is possible. Go to the data base tables, I don't have them on top of my head will update the thread later.
    I assume that all data of the template is deleted, so it is not possible to find this information, right?
    No all the data is not deleted it is only archived. You should still be able to retrieve this information from Archives.
    Hope this helps you close this thread.
    regards
    N K

  • How to find out who has released the purchase order?

    Hi All,
    I have a PR number lets say 10231322 and somebody has release it. Could any one please tell me how to find out who has release it?
    Waiting for your kind replies......
    Thanks in advance.
    Regards,
    Faisal

    Hi,
    When you are in tr ME23N, use the menu: environment > header changes.
    Rgds,
    Suzy

  • How can I find out who downloaded an app

    We have several people who use the same iTunes account how can I find out who downloaded an app

    Yahoote wrote:
    We have several people who use the same iTunes account how can I find out who downloaded an app
    Ask them.  Unless they are a bunch of fibbers, you can easily find out.
    Also, note that many things about iTunes work better when there is one account per person.  Consider going that way. 

  • I found a nano on a trail. How can I find out who the owner is?

    I found a nano on a trail. How can I find out who the owner is?

    Check the device for identifying information, and take it to the local police station.
    (125623)

  • TS3376 how can i tell if someone is logging into my find my iphone account and how can i find out who it is?

    how can i tell if someone is logging into my find my iphone account and how can i find out who it is? Can I add a second layer of password security for Find My iphone?

    Nobody can log in to your iCloud account unless you gave them your password. There is no other way.
    If you shared your password with someone (not a good idea) and no longer want them to have access to your account, change the password and don't share it again.

  • How can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?

    Hi All,       
                   Do you guys know how can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?
    I am on UNIX and 11.1.2.2
    Thanks all.

    Don't think that information is kept anywhere.
    This is how the log will look like during app and db creation
    [Fri Aug 02 13:35:55 2013]Local/ESSBASE0///9036/Info(1051001)
    Received client request: Get Extended Application Info (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:06 2013]Local/ESSBASE0///5432/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1051061)
    Application test loaded - connection established
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1054027)
    Application [test] started with process id [4324]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1056010)
    Application test created
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Define (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Fetch (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1054014)
    Database test loaded
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1056020)
    Database test.test created
    Regards
    Celvin
    http://www.orahyplabs.com

  • HT3702 HOW CAN I FIND OUT WHO CHARGED MY CREDIT CARD FOR ITUNES

    How can I find out who used my credit card for itunes

    Call your bank or credit card company.

  • Subscribe document,Un-suscribe,Log (who has open the document) in easy DMS

    Hi..
    i can see below options are not available when u right click on document in easy DMS 7.1
    Subscribe document,Un-suscribe,Log (who has open the document).Which will help user to get any update with the document.
    Help me asap

    Hi Rahul,
    from an EasyDMS point of view I have to inform you that the mentioned functionalities are currently not available in EasyDMS. If you want to view the log of a document you have to go to the backend system.
    Best regards,
    Christoph

  • My iPod had gotten lost and now someone has re-registered it in their name, how can i find out who it was?

    PLEASE HELP ME FIND MY IPOD OR FIND OUT WHO RE-REGISTERED IT!

    - When a second person registers an iPod, the iPod gets deleted from Your Support Profile. That is all you know.
    - The SN will only help idenify the iPod if it is recovered.
    - Apple will not help at all.
    Reporting a lost or stolen Apple product

Maybe you are looking for

  • How to create a Button Map easly?

    I am trying to make a clickable map where you can click on small areas and be linked to another page.... I can of course break the map to 100 pieces and make 100 buttons and put them together... But this is so time consuming and I am sure there is a

  • Crvs2010 beta - parameter panel - new feature

    Hello, I read the list of  new features for crvs2010. One of the new features listed in the message is the Parameter Panel. The runtime engine supports a parameter panel on the left-hand side. You can optionally place parameters on the panel. I did n

  • FM Radio problem (crashes, loud hissing)

    I have an xperia Z1 for a week ( BH90C, updated to 14.1.G.2.257).  Normally FM radio reception is very good. However, If the FM application is in background and I do web search, twitter, e-mail or facebook, a very loud hissing sound starts and fm app

  • Automate Your Intercompany Reconciliation Process in ECC

    Hi Can any one provide me this document "Automate Your Intercompany Reconciliation Process in ECC " your help is very much appreciated. Thanks and Regards SH

  • How to Do Busniess to Business Connectivity in Portal

    Hi I got the following scenario which need Business to Business conectivity in Portal imageing A B and C are the Companys A is supplyer to B and B is supplyer to C A - >  B  - > C Here B is Distributer. If C want to Place order some goods then it dir