Skip to content

Instantly share code, notes, and snippets.

@keithga
keithga / Update-INIFiles.ps1
Created September 16, 2017 03:34
Update CustomSettings.ini file.
<#
.SYNOPSIS
Update CustomSettings.ini file.
.DESCRIPTION
Updates one or more CUstomSettings.ini files with a common value.
Calling powershell.exe instance must have read/write privelages to the share.
<#
.SYNOPSIS
Generate a computer list from Hyper-V ready to import into Configuration Manager
.DESCRIPTION
Given a Hyper-V server and a set of Hyper-V Virtual Machines, this script will
extract out the necessary information required to create the associated Machine Object in
Configuration Manager.
@keithga
keithga / Wait-CheckPointTransition.ps1
Last active February 9, 2018 19:54
Wait for Checkpoint Transition
<#
.SYNOPSIS
Monitor Progress for CheckPoint Encryption or Decryption
.DESCRIPTION
This script is designed to Block the task sequence from continuing if Checkpoint
is in the Encrypting or Decrypting phase. Additionally will display a visual
progress percentage using the existing SMS Task Sequencing UI framework.
.NOTES
#requires -Version 5
#requires -RunAsAdministrator
<#
.SYNOPSIS
Update Windows ADK
.DESCRIPTION
Will auto update/patch the Windows 10 Version 1703 ADK if installed.
@keithga
keithga / Get-LatestUpdate.ps1
Last active February 23, 2024 13:17
script to get latest build.
<#
.SYNOPSIS
Get the latest Cumulative update for Windows
.DESCRIPTION
This script will return the list of Cumulative updates for Windows 10 and Windows Server 2016 from the Microsoft Update Catalog.
.NOTES
Copyright Keith Garner (KeithGa@DeploymentLive.com), All rights reserved.