Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

    Verifying Document Conversion Service is Working

    How to test and verify that the Document Conversion Service is working.

    From the Sharepoint server, under Sharepoint Management Shell, run the following Powershell command: 
    $jobSettings = New-Object Microsoft.Office.Word.Server.Conversions.ConversionJobSettings
    $jobSettings.OutputFormat = "PDF"
    $job = New-Object Microsoft.Office.Word.Server.Conversions.ConversionJob("Word Automation Service", $jobSettings)
    $job.UserToken = (Get-SPWeb http://share).CurrentUser.UserToken
    $job.AddFile("http://DocumentLibrary/Doc.docx", "http://DestinationLibrary/TEST.pdf")
    • Replace the DocumentLibrary/Doc.Docx, with the source URL and document to be converted.
    • Replace the DestinationLibrary/Test.pdf  with the URL of the destination library.
    • Replace the http://Share with the URL to of the Site collection/Site.
    • Was this article helpful?