Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Publishes files to a distribution point.
Parameter Set: SearchByIdMandatory_Application
Publish-CMPrestageContent -ApplicationId <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-DisableExportAllDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_BootImage
Publish-CMPrestageContent -BootImageId <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_DeploymentPackage
Publish-CMPrestageContent -DeploymentPackageId <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_DriverPackage
Publish-CMPrestageContent -DistributionPointName <String> -DriverPackageId <String[]> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_OperatingSystemImage
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemImageId <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_OperatingSystemInstaller
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemInstallerId <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory_Package
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -PackageId <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_Application
Publish-CMPrestageContent -ApplicationName <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-DisableExportAllDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_BootImage
Publish-CMPrestageContent -BootImageName <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_DeploymentPackage
Publish-CMPrestageContent -DeploymentPackageName <String[]> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_DriverPackage
Publish-CMPrestageContent -DistributionPointName <String> -DriverPackageName <String[]> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_OperatingSystemImage
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemImageName <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_OperatingSystemInstaller
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemInstallerName <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory_Package
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -PackageName <String[]> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_Application
Publish-CMPrestageContent -Application <IResultObject> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-DisableExportAllDependencies] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_BootImage
Publish-CMPrestageContent -BootImage <IResultObject> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_DeploymentPackage
Publish-CMPrestageContent -DeploymentPackage <IResultObject> -DistributionPointName <String> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_DriverPackage
Publish-CMPrestageContent -DistributionPointName <String> -DriverPackage <IResultObject> -FileName <String> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_OperatingSystemImage
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemImage <IResultObject> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_OperatingSystemInstaller
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -OperatingSystemInstaller <IResultObject> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory_Package
Publish-CMPrestageContent -DistributionPointName <String> -FileName <String> -Package <IResultObject> [-Description <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
The Publish-CMPrestageContent cmdlet publishes files for applications, images, packages, or operating system installers to a distribution point without using the Microsoft System Center 2012 Configuration Manager distribution process. Specify the distribution site, the file name, and the item to publish.
You can specify any of the following to publish to a distribution point:
-- Application
-- BootImage
-- DeploymentPackage
-- DriverPackage
-- OperatingSystemImage
-- OperatingSystemInstaller
-- Package
You can specify the item to be published by name or ID, or use another cmdlet to get the desired item.
Specifies an application object. To obtain an application object, use the Get-CMApplication cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of applications.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of applications.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a boot image object. To obtain a boot image object, use the Get-CMBootImage cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of boot images.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of boot images.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a deployment package object. To obtain a deployment package object, use the Get-CMDeploymentPackage cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of deployment packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of deployment packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a description for the content.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Indicates that Configuration Manager disables all dependencies for the exported content.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a distribution point for the content.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a driver package object. To obtain a driver package object, use the Get-CMDriverPackage cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of driver packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of driver packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a file name for a .pkgx file.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an operating system image object. To obtain an operating system image object, use the Get-CMOperatingSystemImage cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of operating system images.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of operating system images.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an operating system installer object. To obtain an operating system installer object, use the Get-CMOperatingSystemInstaller cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of operating system installers.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of operating system installers.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies a package object. To obtain a package object, use the Get-CMPackage cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of IDs of packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of names of packages.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
This command publishes the package that has the ID CM200001 to the specified distribution point as the specified .pkgx file.
PS C:\> Publish-CMPrestageContent -PackageId "CM200001" -DistributionPointName "FileDist02.Western.Contoso.com" -FileName "C:\Users\admin\Documents\Package.pkgx"
This command publishes the boot image that has the ID CM200005 to the specified distribution point as the specified .pkgx file.
PS C:\> Publish-CMPrestageContent -BootImageId "CM200005" -DistributionPointName "FileDist02.Western.Contoso.com" -FileName "C:\Users\admin\Documents\BootImage.pkgx"
This command publishes the driver package that has the ID CM20000F to the specified distribution point as the specified .pkgx file.
PS C:\> Publish-CMPrestageContent -DriverPackageId "CM20000F" -DistributionPointName "FileDist02.Western.Contoso.com" -FileName "C:\Users\admin\Documents\DriverPackage.pkgx"
This command publishes the operating system image that has the ID CM200006 to the specified distribution point as the specified .pkgx file.
PS C:\> Publish-CMPrestageContent -OperatingSystemImageId "CM200006" -DistributionPointName "FileDist02.Western.Contoso.com" -FileName "C:\Users\admin\Documents\OSImage.pkgx"
This command publishes the operating system installer that has the ID CM200017 to the specified distribution point as the specified .pkgx file.
PS C:\> Publish-CMPrestageContent -OperatingSystemInstallerId "CM200017" -DistributionPointName "FileDist02.Western.Contoso.com" -FileName "C:\Users\admin\Documents\OSInstaller.pkgx"