Skip to content

Instantly share code, notes, and snippets.

@keithga
keithga / unattend.xml
Last active April 14, 2024 12:14
Unattend.xml file for bypassing OEM OOBE.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
@keithga
keithga / ZTISurface1TBBootDisk.wsf
Created November 21, 2017 05:08
Suface 1TB fix
<job id="ZTISurface1TBBootDisk">
<script language="VBScript" src="ZTIUtility.vbs"/>
<script language="VBScript" src="ZTIDiskUtility.vbs"/>
<script language="VBScript">
' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
@keithga
keithga / SetupComplete.cmd
Created November 16, 2017 18:14
Modifications to SetupComplete.cmd to fix TS bug
@echo off
:: // ***************************************************************************
:: //
:: // Copyright (c) Microsoft Corporation. All rights reserved.
:: //
:: // Microsoft Deployment Toolkit Solution Accelerator
:: //
:: // File: SetupComplete.cmd
:: //
:: // Version: 6.3.8447.1000
@keithga
keithga / RDGGen.ps1
Created November 4, 2017 22:26
Remote Desktop Generator for Azure
<#
 .SYNOPSIS
Auto Generate a RDG file for Azure.
.DESCRIPTION
Will create a Microsoft Remote Desktop Connection Manager *.RDG file
from the Virtual Machines within your Azure Tenant.
.PARAMETER Path
Location of the target *.RDG file.
@keithga
keithga / Win10.1709.Eval.Links.json
Last active July 25, 2023 06:15
List of Windows 10 1709 Enterprise Eval download links
@keithga
keithga / ZTISelectBootDisk.wsf
Last active October 11, 2017 05:13
Select a disk based on BusType
<job id="ZTISelectBootDisk">
<script language="VBScript" src="ZTIUtility.vbs"/>
<script language="VBScript" src="ZTIDiskUtility.vbs"/>
<script language="VBScript">
' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
#Requires -Version 3
#requires -RunAsAdministrator
<#
.SYNOPSIS
TPM Infineon Riemann Check
.DESCRIPTION
@keithga
keithga / test-switches.ps1
Last active October 10, 2017 05:42
TEst switches
Function Test-Switch ( [switch] $Test ) {
# Correct use of a switch Test (True case)
if ( $test ) {
"Do Something"
}
# Bad use of a switch test (False case)
if ( $test -eq $null ) {
"Never going to do it!"
@keithga
keithga / Export-GroovePlaylist.ps1
Last active August 18, 2018 00:14
Export Microsoft Groove Playlists
<#
.SYNOPSIS
Export Groove Playlist
.DESCRIPTION
Export Groove Music playlist (tested on Groove Music version 9/25/2017)
Steps:
@keithga
keithga / get-Ignite2017Content.ps1
Last active October 3, 2017 05:22
Download Ignite content
<#
Script to assist finding content to download from MS Ignite 2017
Will use the script Get-IngiteSession.ps1 from: https://gallery.technet.microsoft.com/Ignite-2016-Slidedeck-and-296df316
#>
[cmdletbinding()]
param(