Microsoft Configuration Manager
General

How to Create a Package by Using a Package Definition File Template

In brief

The page’s `ms.service` metadata changed from `microsoft-endpoint-configuration-manager` to `configuration-manager`.

What Intune admins need to know

This aligns the documentation with the updated service classification; no administrator action is indicated.

This summary was assembled from the tracked documentation change. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

How to Create a Package by Using a Package Definition File Template

The following example shows how to create a package and program by using a package definition file template in Configuration Manager. The package definition file template contains the default values that are used to create SMS_Package and SMS_Program objects. The following example uses the SMS_PDF_Package class and the GetPDFData method to load the package definition file template information and to create a package and the related programs.

Daily Intune.Admin.News

Get daily email updates

Get a concise summary of the latest Microsoft Intune updates delivered straight to your inbox.

Loading the secure signup form…