SCCM Deployments with PowerShell

The following script allows to create a deployments on SCCM

  • Deployment of an application (asap)
  • Deployment of a package (asap after an available date/time)
  • Deployment of a task sequence (scheduled using WMI)

The deployments of the application and the package are enforced as soon as possible but it’s also possible to schedule them by setting an available date/time and an enforcement date/time.

The deployments enforce the installation with not overriding the maintenance window.

To work properly, this script must be launched from a server with the SCCM Console installed.