Cannot delete Document Content Type. Getting error "Document Content Type Still in use" powershell, sharepoint 2013

not able to delete "Document" content type from a library. I have a custom content type. I have added the custom content type to all the items of library. also, i have added the custom columns from "Document" content type to my custom
content type. Still cannot delete the "Document" content type. I am doing the same process in different site collections and different libraries. But not able to delete in a few say- 10 in 100. Get the error - "Document content type is still
in use"

Hello 
Here you go
http://blog.octavie.nl/index.php/2012/09/14/error-the-content-type-is-in-use-explained
https://social.technet.microsoft.com/Forums/en-US/e81020e3-2c12-4f39-a2f4-f1fd88ba6547/content-type-is-still-in-use-on-document-library
Please remember to click 'Mark as Answer' on the answer if it helps you

Similar Messages

  • Getting error while backing up SQL database using powershell

    I am trying to backup SQL database but strange thing is taking lpace, few databases i can backup with powershell but few i am getting error
        Exception calling "SqlBackup" with "1" argument(s): "Backup failed for Server 
        'Server1'. "
        At C:\_Scripts\defaultbackup.ps1:40 char:1
        + $smoBackup.SqlBackup($server)
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : FailedOperationException
        $dbToBackup = "test"
        #clear screen
        cls
        #load assemblies
        #note need to load SqlServer.SmoExtended to use SMO backup in SQL Server 2008
        #otherwise may get this error
        #Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure
        #the assembly containing this type is loaded.
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
        Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
        | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-  
        Null
        #create a new server object
        $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") "(local)"
        $backupDirectory = $server.Settings.BackupDirectory
        "Default Backup Directory: " + $backupDirectory
        $db = $server.Databases[$dbToBackup]
         $dbName = $db.Name
         $timestamp = Get-Date -format yyyyMMddHHmmss
        $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
        #BackupActionType specifies the type of backup.
        #Options are Database, Files, Log
        #This belongs in Microsoft.SqlServer.SmoExtended assembly
        $smoBackup.Action = "Database"
        $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
        $smoBackup.BackupSetName = $dbName + " Backup"
        $smoBackup.Database = $dbName
        $smoBackup.MediaDescription = "Disk"
        $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
        ".bak",   
        "File")
        $smoBackup.SqlBackup($server)
        #let's confirm, let's list list all backup files
        $directory = Get-ChildItem $backupDirectory
       $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp + ".bak", "File")
    $smoBackup.SqlBackup($server)
    #let's confirm, let's list list all backup files
    $directory = Get-ChildItem $backupDirectory
    #list only files that end in .bak, assuming this is your convention for all backup files
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime
    I read on internet that by using this in the script this problem can be sorted but i am
    not sure where exactly to put this line in above script set the ConnectionContext.StatementTimeout to 0
                  

    Hi Srk,
    I found the similar issue in this article, which had been sovled by adding the script below:
    $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") $dbInstance
    $server.ConnectionContext.StatementTimeout = 0
    Refer to:
    Exception calling "SqlBackup" with "1" argument(s)
    Please feel free to let me know if this method can not work.
    Best Regards,
    Anna Wang

  • Getting Error while Installing Workflow Manager 1.0 on Sharepoint 2013 On-Prem server

    I am trying to install Workflow Manager 1.0 on our SharePoint Server 2013 which is On-Prem installation. The SharePoint Server 2013 is functioning correctly. During the installation of Workflow Manager 1.0 on the same SharePoint 2013 server, I receive the
    following message: "Port number 9355 specified for HTTPS Port is blocked" I have checked our firewall Inbound rules and this port is not blocked.
    Any reason why this could be happening or did I miss anything?
    Thanks Snehal H.Rana SharePoint Consultant

    I am happy to inform you that I was able to resolve this error. I configured this on different ports other than 9355. We need to modify 2 files called "ClusterManifest.1.0.xml" and "ClusterManifest.current.xml" in c:\Program
    Files\Windows Fabric\Bin. They were pointing to older FQDN under following node:
     <NodeList>
            <Node NodeName="yourserverfqdn" IPAddressOrFQDN="yourserverfqdn" IsSeedNode="true" NodeTypeRef="DefaultNodeType" />
          </NodeList>
    These files won't let you edit directly in notepad so you will need to make a copy of these files (just in case). Open up the notepad as "Run As Administrator". Drag these files to the notepad. After you are done editing, save these as original
    names but make sure that the extension is .xml
    You will also need to do IISReset
    That did the trick for me.
    Thanks Snehal H.Rana SharePoint Consultant

  • After migration to a new macbook i cannot open photoshop. I get error message "you can't open this application "adobe photoshop cs" because powerpc applications are no longer supported"

    after migration to a new macbook i cannot open photoshop. I get error message "you can't open this application "adobe photoshop cs" because powerpc applications are no longer supported"

    You cannot run Photoshop CS on a new Intel-based Mac running OS X Mavericks. CS is far too old.
    You'll have to buy Photoshop CS6 or Photoshop Elements 12. Or subscribe to CC.

  • I cannot sign in.  I get error "404" when I try, then it takes me to a "Fill and Sign" page. Not to Export page

    I cannot sign in.  I get error "404" when I try, then it takes me to a "Fill and Sign" page. Not to Export page.  At that point, there are no options to do anything else.

    It seems to have started to work now... so who knows.

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • How to know whether the Content Type at Library level is Inheriting Parent Content type or not Using Powershell?

    Hi,
    How to know whether the Content Type at Library level is Inheriting Parent Content type or not using Powershell?
    Is there any property for that? Or Do I need to compare the Content type Id's at Site collection level and Library level?
    Any help would be greatly appreciated.
    Thank you,
    AA.

    Hi Ashok,
    For a content type, there is an attribute called Inherits, the value of this attribute determines whether the content type inherits fields from its parent content type when it is created.
    If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added.
    If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was
    installed. The child content type does not have any fields that users have added to the parent content type.
    More information, please refer to the link:
    https://msdn.microsoft.com/en-us/library/office/aa544268.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Getting error message while updating Job attributes using PP03 for IT1641

    Hey Guys,
    We are getting error message while updating Job attributes using transaction PP03 for IT1641 (WC Attributes for JOB): 'Client has status not modifiable'.
    Update to the infotype 1641 should not require open SAP system. Would anyone suggest any SAP note/solution?
    Thanks...
    Edited by: Karan Gheewala on Apr 3, 2008 9:06 PM

    Solved using Note 123383 - WC: Customizing worker's compensation tables
    Thanks,..

  • Unable to load media error when trying to play a video in Sharepoint 2013

    My team consistently gets an error when trying to play a video in SharePoint 2013. I can upload it, pick a thumbnail and save it.  When anyone else goes to the intranet site and tries to play the video, they get a media failed to load error.
    I have tried mp4 and wmv formats. I at first thought it had to do with the codec used in Camtasia to create the video, so I encoded it in Microsoft Encoder to a wmv and it still fails. All of the videos I upload fail for other users. If someone else uploads
    a video, I get the error and cannot play the video.  If I look at the library in Explorer, the video file is missing but the subdirectories for additional content and thumbnails are present. For the videos I upload and can play but everyone else
    gets the error, I see those subdirectories as well as the video file itself.

    Result
    Protocol
    Host
    URL
    Body
    Caching
    Content-Type
    Process
    Comments
    Custom
    963
    404
    HTTP
    team.hagerman.com
    /submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv
    13
    private,max-age=0; Expires: Tue, 11 Feb 2014 21:58:26 GMT
    iexplore:15076
    [#956]
    Request:
    GET /submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv HTTP/1.1
    Accept: */*
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; Zune 4.7; AskTbAD2/5.15.4.23821)
    Host: team.hagerman.com
    If-Modified-Since: Wed, 26 Feb 2014 19:07:33 GMT
    If-None-Match: "{8A07B719-341D-4BEE-BD61-F364394C3E98},2"
    DNT: 1
    Connection: Keep-Alive
    Cookie: databaseBtnText=0; databaseBtnDesc=0; stsSyncAppName=Outlook; stsSyncIconPath=%2F%5Flayouts%2F15%2Fimages%2Fmenuoutl%2Egif; __utma=95027589.2092965952.1364844931.1393356332.1393429315.524; __utmz=95027589.1393268194.522.68.utmcsr=SilverpopMailing|utmccn=TE%20-%20St.%20Louis%20MCAD%20(12)|utmcmd=email;
    __qca=P0-1092250856-1367500502168; km_ni=joyvoltenburg; km_uq=; km_lv=x; km_ai=joyvoltenburg; grvinsights=3a306cce826491ec77d9a195a63f57f2; __avc_32508=045-8a-724d-ee8f13e900daac4; Persistent_id_HgixPXFYDDdj0w=0C78ABCB2F34:1392388341; optimizelySegments=%7B%22178845731%22%3A%22false%22%2C%22178855892%22%3A%22ie%22%2C%22179190226%22%3A%22direct%22%7D;
    optimizelyEndUserId=oeu1379624626946r0.0872463653920379; optimizelyBuckets=%7B%7D; __utmc=95027589; StorefrontCookie=cmen-US=en-US&bm=US; WSS_FullScreenMode=false; Ribbon.Read=1920886|-1|0|-687423497; Ribbon.DocLibListForm.Edit=682788|-1|0|1882364446;
    Ribbon.Library=1920886|-1|710|-687423497; Ribbon.Permission=1920886|-1|1725|1598418443; Ribbon.ListForm.Display=1920886|-1|1620|-1006461573; previousLoggedInAs=; loginAsDifferentAttemptCount=
    Authorization: Negotiate YIIF1AYGKwYBBQUCoIIFyDCCBcSgMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCNwICHgYKKwYBBAGCNwICCqKCBY4EggWKYIIFhgYJKoZIhvcSAQICAQBuggV1MIIFcaADAgEFoQMCAQ6iBwMFACAAAACjggRdYYIEWTCCBFWgAwIBBaEOGwxIQUdFUk1BTi5DT02iJDAioAMCAQKhGzAZGwRIVFRQGxF0ZWFtLmhhZ2VybWFuLmNvbaOCBBYwggQSoAMCARehAwIBE6KCBAQEggQA8udpTQGxrKxalOvdnd4xskRGpoVzVyajwNF0khIMv9FLMq/CRXZuKcNtBOP7ckJygktuJyj9JqLBomvOuyBzEEeY4+Twwbt7+lRf87Wrw6EY+efwVOV0F4/E8ggxpuMWEb92vUWnIKVG/qxLqnE0CqVY7W5i/c0tNsi6fZ0s1MY3Yh83ZtIBOCjBbcpO56i4zC3bdIbFOd/ffHlV53iNAfc2g1EryF1i3QoWjlbuLx+8wKLN2IHgmoja6wCBZ1srU0GdJQWKF//n7Yoy/rkC0lsTqzF2ZU/jNgthm8PaE1fV07CZxKJg+UEmEAWxccNwFoDHCWUy34sTBmFMroYROuR3Q+iuoVQJkxO4NbtsiRCNvo0VhZpkZaQ0Essn8GDiYeg/4M4PgAptzWOvk+MyW2nI6vZsbtPaUrS1oPZgxvQXrrt2LwphUnXT71JlLRbWg0sSJkZmWQppzdkMKs0NWauB4GviH4Jv+j7Blms8Mc+k4u/79x3CbpulvazkpbVdBLaSL7w/Qu1wJpKcsJbUV5gYhYFr+CO2TvMlsHlGq4V2bmkxWRuZE7mIfz0GwLTyK05nR2kKfZdtrflfN/T37/1xUZuEe4JuHuL57MJ5qCx3P4vVoPT7/LANKuHOiEX4v2reuejk8xXVRhm+QHMVD7YxTydNe9ncr67qG0DoPhgw32hM/ZyoIYN02yZzr18yGNOdTJkELjypvwaP8UMj4AnS0XUCiF8DNRx88byHEwhhj9l6fzLLXd3YMbOPi73Ql+pYTZs54GiDcxgRtX2BcgypwEc0gauRcItX001PlEwYjtkMh7F5ojKOmqPzcTe9TyNMGcyMNqdi1I5BBEbRqV5DqoFFdnZECg1DcXvWXVCG2StEMfp3bJ0hEf7qaHX0t0hIY23Z7GUaKAz9vDbYc/mOgLZhouyFRcP8NWZ/VAUNdRA5L74azEUyBzK3jkErd9w9DtOwM5Z4v74VxG0yQ7q8Y3LvjstLzuxiJ5U3vrydVomKEV8B6rRJXgFne2vrd8RDy+UVNIIIKBZmvqgJyqoeTELGlvsipyEx+r985RyqunWRhXpXQOXfeaqMNpB8jE/8nGpoE4Iv51LWXI3/s2pjRvsMzmYwmI1WtRBRFbSEYQrszw/eoH/8cmamjIUAMnC44jh8GfDCHt0I059p6c+Ms3Yi8D6D8KpU83D4rQJBJw+ZmND3OwwiNeZpm/scy1JLpxSI5Bl+nPky8uGabOWkwqad++6VAfQ9SbnqKLr2FLaTqstGsVp4XyFDf6tWv/cV0C3aZmuEAtCPqx4iSszCFi0gRrroNFgTm6GD58c1icSdF1OV+2Heeg5oZ1JFZHmsGUGDaHg+k91z2WKFlqSB+jCB96ADAgEXooHvBIHsaI9Tg734C48hbv/O2Dc/BMFF+LItKRkeLQ8PUQPJrUyTLHcgiAV6mB58tYtnM6Sk3HsaYuqkJs2qbFqy0SJoNGylPoc/XD7zOt39u87sbcHhIBx6JCAdFeBjfNeHnl1cV8rKobf3Znj6T9VrmHqrNs+SW0RL32sfVhc+Zhrf2Oo/7AMJoG3Uf0/eribgMl37+4bvn9XiMjVPhDolfeVaNmDwwZPEkP8WejHBclzL0+LlOaYG/TCJF19V6AscWyvNh7Z4cUvOAoM/KgDAiJfxQMcIiUyRuP2ns+FXPRQDwZ+R+gQOgblAZ0Bu4zw=
    Response:
    HTTP/1.1 404 NOT FOUND
    Cache-Control: private,max-age=0
    Content-Length: 13
    Expires: Tue, 11 Feb 2014 21:58:26 GMT
    Server: Microsoft-IIS/7.5
    X-SharePointHealthScore: 0
    Public-Extension: http://schemas.microsoft.com/repl-2
    SPRequestGuid: 1826789c-0589-80e7-31cd-3c1038ea29f6
    request-id: 1826789c-0589-80e7-31cd-3c1038ea29f6
    X-FRAME-OPTIONS: SAMEORIGIN
    SPRequestDuration: 1132
    SPIisLatency: 1
    WWW-Authenticate: Negotiate oYGyMIGvoAMKAQChCwYJKoZIgvcSAQICooGaBIGXYIGUBgkqhkiG9xIBAgICAG+BhDCBgaADAgEFoQMCAQ+idTBzoAMCAReibARqhLWFbGbcecrn5kQ/ScMjrsqhag2XcrWQQ7g0Mb6ilZ+kFIPC6XJsH7+ldzTk3eQF/4C1f2nzJxENlP2M+75fOiRZGU/r0nvjgX5MdswmrBQkRg8iqKwcwJeE/3/P7nLWVitRs21hnB19oQ==
    Persistent-Auth: false
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 15.0.0.4420
    X-Content-Type-Options: nosniff
    X-MS-InvokeApp: 1; RequireReadOnly
    Date: Wed, 26 Feb 2014 21:58:25 GMT

  • Is there a way to get long running SQL Agent jobs information using powershell?

    Hi All,
    Is there a way to get long running SQL Agent jobs information using powershell for multiple SQL servers in the environment?
    Thanks in Advance.
    --Hunt

    I'm running SQL's to fetch the required details and store it in centralized table. 
    foreach ($svr in get-content "f:\PowerSQL\Input\LongRunningJobsPowerSQLServers.txt"){
    $dt = new-object "System.Data.DataTable"
    $cn = new-object System.Data.SqlClient.SqlConnection "server=$svr;database=master;Integrated Security=sspi"
    $cn.Open()
    $sql = $cn.CreateCommand()
    $sql.CommandText = "SELECT
    @@SERVERNAME servername,
    j.job_id AS 'JobId',
    name AS 'JobName',
    max(start_execution_date) AS 'StartTime',
    max(stop_execution_date)AS 'StopTime',
    max(avgruntimeonsucceed),
    max(DATEDIFF(s,start_execution_date,GETDATE())) AS 'CurrentRunTime',
    max(CASE WHEN stop_execution_date IS NULL THEN
    DATEDIFF(ss,start_execution_date,stop_execution_date) ELSE 0 END) 'ActualRunTime',
    max(CASE
    WHEN stop_execution_date IS NULL THEN 'JobRunning'
    WHEN DATEDIFF(ss,start_execution_date,stop_execution_date)
    > (AvgRunTimeOnSucceed + AvgRunTimeOnSucceed * .05) THEN 'LongRunning-History'
    ELSE 'NormalRunning-History'
    END) 'JobRun',
    max(CASE
    WHEN stop_execution_date IS NULL THEN
    CASE WHEN DATEDIFF(ss,start_execution_date,GETDATE())
    > (AvgRunTimeOnSucceed + AvgRunTimeOnSucceed * .05) THEN 'LongRunning-NOW'
    ELSE 'NormalRunning-NOW'
    END
    ELSE 'JobAlreadyDone'
    END)AS 'JobRunning'
    FROM msdb.dbo.sysjobactivity ja
    INNER JOIN msdb.dbo.sysjobs j ON ja.job_id = j.job_id
    INNER JOIN (
    SELECT job_id,
    AVG
    ((run_duration/10000 * 3600) + ((run_duration%10000)/100*60) + (run_duration%10000)%100)
    +
    STDEV
    ((run_duration/10000 * 3600) + ((run_duration%10000)/100*60) + (run_duration%10000)%100) AS 'AvgRuntimeOnSucceed'
    FROM msdb.dbo.sysjobhistory
    WHERE step_id = 0 AND run_status = 1
    GROUP BY job_id) art
    ON j.job_id = art.job_id
    WHERE
    (stop_execution_date IS NULL and start_execution_date is NOT NULL) OR
    (DATEDIFF(ss,start_execution_date,stop_execution_date) > 60 and DATEDIFF(MINUTE,start_execution_date,GETDATE())>60
    AND
    CAST(LEFT(start_execution_date,11) AS DATETIME) = CAST(LEFT(GETDATE(),11) AS DATETIME) )
    --ORDER BY start_execution_date DESC
    group by j.job_id,name
    $rdr = $sql.ExecuteReader()
    $dt.Load($rdr)
    $cn.Close()
    $dt|out-Datatable
    Write-DataTable -ServerInstance 'test124' -Database "PowerSQL" -TableName "TLOG_JobLongRunning" -Data $dt}
    You can refer the below link to refer out-datatable and write-dataTable function.
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/01/use-powershell-to-collect-server-data-and-write-to-sql.aspx
    Once we've the table details, I'm sending one consolidated email to automatically.
    --Prashanth

  • Get the daily incremental search crawl information using PowerShell script

    Dear Friends ,
        I want to get the daily incremental search crawl information using PowerShell script . I need this information into CSV or txt format . Can you please help me with this.
    valmiki

    Hi
    I  have got the below script which worked .
    ## SharePoint Reference
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.Search")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    function global:Get-CrawlHistory($url)
    trap [Exception] {
    write-error $("ERROR: " + $_.Exception.GetType().FullName);
      write-error $("ERROR: " + $_.Exception.Message);
      continue;  
    $s =
    new-Object Microsoft.SharePoint.SPSite($url);
    $c = [Microsoft.Office.Server.Search.Administration.SearchContext]::GetContext($s);
    $h =
    new-Object Microsoft.Office.Server.Search.Administration.CrawlHistory($c);
    Write-OutPut $h.GetCrawlHistory();
    $s.Dispose();
    Get-CrawlHistory
    -url  http://your_site_url/
      |
    Export-CsvF:\temp\search.csv
    valmiki

  • Cannot delete files from external HD error code-50

    I keep getting error code-50 when trying to delete a file from my external HD (western digital).  I've restarted everything, it is not a special character problem.  I have been using this HD for about a year and this problem just recently started.  Also I cannot run disk utility verify because the HD does not show up in disk utility.  Not sure if it ever did but I never had problems until now.

    beecazz wrote:
    Also I cannot run disk utility verify because the HD does not show up in disk utility.
    That sounds like cause for concern, but I don't know whether it's connected with the -50 error.
    Do you have backup to restore from if things take a turn for the worse?
    For the deleting problem you could look at the following link. Trash It! seems to solve many Trash problems:
    http://www.thexlab.com/faqs/trash.html

  • Cannot install itunes 12.1. getting error 7, windows error 193

    Have tried updating itunes to 12.1. getting message during installation that mobile services wont start. After completing installation, getting error message 7, windows error 193. Any suggestions would be helpful.
    thanks

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Cannot install osd sound control, get error 259

    Trying to reinstall sp 44493 to get sound contol for osd. Keep getting error 259. When i do have it, it constantly disappears and have to retry to reinstall.

    Hello again @gene8846,
    I am providing you with an HP Support document: Using Recovery Manager to Restore Software and Drivers (Windows 7), which you can use to re-install the original driver that came with your computer. As we know this driver worked barring any hardware issues it should work again. After you have the driver re-installed you can use the HP Support document: Using HP Support Assistant (Windows 7) to ensure that your drivers is updated to the most current version.
    I hope this helps. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Cannot upload to facebook, keep getting error message?

    cannot upload from iphototo facebook, keep getting error message?

    That's strange, I have the same version of iPhoto and have almost no trouble loading to Facebook.   Sometimes though the attachment libraries that are old disappear for whatever reasons.    It may be due to the fact that I change info in the names of some of the libraries once on Facebook.  To avoid problems, I always ensure my web browser is closed when using iPhoto, and vice versa.

Maybe you are looking for

  • What every developer should know about bitmaps

    This isn't everything, but it is a good place to start if you are about to use bitmaps in your program. Original article (with bitmaps & nicer formatting) at Moderator edit: link removed Virtually every developer will use bitmaps at times in their pr

  • Pixel text over opacity fill

    Hello, I have text on top of an 85% opacity white fill.  When I save as an eps the text gets pixelated when placed in InDesign.  It doesn't happen all the time.  When the InDesign file gets exported as a pdf I can open the file in Illustrator and I'v

  • Linking text frames with script label array in vbs

    Here's what I'm using TextFrameStr = "name1,name2,name3,name4" TextFrameArray = split(TextFrameStr, ",") 'On Error Resume Next For i = 0 to Ubound(TextFrameArray) myDocument.TextFrames.item(TextFrameArray(i)).nextTextFrame = myDocument.TextFrames.ite

  • Vertical format

    I have a hard copy book in a vertical format- Why will ibooks not let me design in the same format, am I missing something? Thank you Paul

  • Soft thinks and Runtime Error Printing issue!

    Whenever printing a document these 3 issues (either 1 or both or all 3 will occur) When printing with wireless printer C4580 (Windows Vista 32 Bit) 1.It will not recognize the wireless printer and say that it is disconnected. 2. When printing a docum