Category: Scripting

  • Hyper-V Replica and VMs Failover with PowerShell

    Hyper-V Replica offers a convenient and efficient way to provide failover capabilities for Hyper-V VMs, especially outside of a Hyper-V cluster. In its simplest form, two nodes can be set in replication mode to provide near continuous protection for virtual machines, which is the scenario I will cover here. Among other benefits, it can also […]

  • SCCM Client Installation using PowerShell and PSExec

    There are a lot of ways to install the SCCM client: automatic client push, push via the console, GPOs and many more. I will be sharing here a simple PowerShell script meant to be run interactively. The script will install the SCCM client using a batch file stored on a file share accessible to all […]

  • SCCM Distribution Point Migration SQL Views and Status

    One of the latest projects involved automating thousands of distribution point migration jobs. One of the runbooks in the Orchestrator automation for this project involved monitoring the progress of the migration jobs. The SCCM database has a view that tracks this progress and is an actual reflection of the status you see in the “Distribution […]

  • SCCM Detection Clauses Using Scripts

    Implementing SCCM detection clauses using scripts allows an administrator to flexibly define detection methods, especially when dealing with manually defined applications and deployment types. The scripting potential and capabilities are virtually limitless. SCCM supports scripting using PowerShell, VBScript or JScript. I was recently supplied with an application to be distributed though SCCM. The files initially […]