---
title: "Using Document Converter from PowerShell"
canonical_url: "https://www.nutrient.io/guides/document-converter/document-converter-services/knowledge-base/using-the-pdf-converter-from-powershell/"
md_url: "https://www.nutrient.io/guides/document-converter/document-converter-services/knowledge-base/using-the-pdf-converter-from-powershell.md"
last_updated: "2026-05-26T01:23:09.577Z"
description: "Learn how to use Nutrient Document Converter from PowerShell to automate document conversion. Follow step-by-step instructions for seamless integration and execution."
---

# Using Document Converter from PowerShell

**This article is about using PowerShell with the 'on-premise' version of Nutrient Document Converter. See [MuhimbiConvertOnlineTo-PDF PowerShell module](https://clavinfernandes.wordpress.com/2018/01/24/muhimbi-converter-service-online-muhimbiconvertonlineto-pdf-powershell-module/) for a PowerShell example of our online subscription based service.**

For a basic example of how to convert a file to PDF using PowerShell, see [MuhimbiConvertTo-PDF PowerShell module](https://clavinfernandes.wordpress.com/2017/12/11/muhimbiconvertto-pdf-powershell-module/).

This example invokes our 'Convert' method, and can easily be modified to deal with document merging, watermarking, applying PDF security and even OCR.&nbsp;Although we provide no PowerShell sample code for those scenarios, as PowerShell is similar to other.NET environments, have a look at our generic [code samples](/guides/document-converter/document-converter-services.md).

The PowerShell sample linked to above does not use PowerShell's built in web services facilities `New-WebServiceProxy`, as that make things very difficult when dealing with complex Web Services such as the one exposed by Nutrient Document Converter.

Instead, the sample uses the pre-generated proxy DLLs that ship alongside our software. They can be found in the folder where the Conversion Service has been deployed (See Muhimbi Document Converter/Open Installation folder shortcut in the Windows start menu).

For details about how to use the various objects and methods, see [Where can I find details about the PDF converter's object model](/guides/document-converter/sharepoint/knowledge-base/where-can-i-find-details-about-the-pdf-converter-s-object-model.md).

---

## Related pages

- [How to specify which InfoPath view to convert from your code?](/guides/document-converter/document-converter-services/knowledge-base/how-can-i-specify-which-infopath-view-to-convert-from-my-own-code.md)
- [How does Document Converter handle InfoPath attachments?](/guides/document-converter/document-converter-services/knowledge-base/how-does-the-pdf-converter-deal-with-infopath-attachments.md)
- [Common code to open and close DocumentConverterServiceClient](/guides/document-converter/document-converter-services/knowledge-base/open-and-close-documentconverterserviceclient.md)
- [Do you have sample code for KVP Extraction functionality?](/guides/document-converter/document-converter-services/knowledge-base/sample-code-for-kvp-extraction.md)
- [How to use GdPicture in your code?](/guides/document-converter/document-converter-services/knowledge-base/how-to-use-gdpicture-from-the-code.md)
- [How does the Conversion Service handle concurrency and how can it be adjusted?](/guides/document-converter/document-converter-services/knowledge-base/how-does-the-conversion-service-deal-with-concurrency-and-how-to-tweak-it.md)
- [How to make HTML-to-PDF conversion more secure?](/guides/document-converter/document-converter-services/knowledge-base/make-html-to-pdf-conversion-more-secure.md)
- [Do you have sample code for Text Extraction functionality?](/guides/document-converter/document-converter-services/knowledge-base/sample-code-for-text-extraction.md)
- [Knowledge base: SharePoint Document Converter](/guides/document-converter/document-converter-services/knowledge-base.md)

