PowerShell module used for managing Microsoft Endpoint Manager Configuration Manager distribution point content.
ConfigurationManager
module, and instead made it a required module in the manifest. This is to better define the dependency and provide a more "traditional" experience. Therefore, you must import the ConfigurationManager
module before you can use PSCMContentMgmt.-SiteServer
and -SiteCode
parameters. This is because variables $CMSiteServer
and $CMSiteCode
were automatically defined upon import of PSCMContentMgmt (from attempting to read the registry and WMI to determine where the SMS Provider was and the site code). This behaviour has now changed. You must specify -SiteServer
and -SiteCode
, but only for at least one command. The same parameter values are remembered for subsequent commands within the same session. See README.md
for more details.Invoke-DPContentLibraryCleanup
to use correct .exe pathStart-DPContentRedistribution
so it actually works. Added error handling to in the event an object is not found to be already distributed to a distribution point.Import-DPContent
Get-Help about_PSCMContentMgmt*
Added
Initial GitHub release