This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Export Groove Playlist | |
.DESCRIPTION | |
Export Groove Music playlist (tested on Groove Music version 9/25/2017) | |
Steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -RunAsAdministrator | |
<# | |
.Synopsis | |
Launch network trace | |
.DESCRIPTION | |
Launches network trace and displays a | |
.EXAMPLE | |
Example of how to use this cmdlet | |
.NOTES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Report on Disk Hogs | |
.DESCRIPTION | |
Returns a list of the largest directories in use on the local machine | |
.NOTES | |
Copyright Keith Garner, All rights reserved. | |
Really Updated for Windows 7 and Optimized for !!!SPEED!!! | |
.PARAMETER Path | |
Start of the search, usually c:\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Bypass file for OEM OOBE Setup. | |
Called from within Audit Mode. | |
#> | |
param( | |
[int] $TargetDisk = 0, | |
[string] $NewBootWim = "$PSScriptRoot\Generic_x64.wim", | |
[string] $UserName = 'MDTServer\MDTNonInteractive', | |
[string] $Password = 'UnSecurePassword1234', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Example of how to create a Device Collection and populate it with computer objects | |
The Faster way. <Yea!> | |
#> | |
[cmdletbinding()] | |
param( | |
$CollBaseName = 'MyTestCol_0C_{0:D4}', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"SKU": "ADK", | |
"lang": "EN-US", | |
"bits": "32", | |
"url": "https://go.microsoft.com/fwlink/p/?linkid=859206" | |
}, | |
{ | |
"SKU": "Enterprise", | |
"lang": "DE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will remove the VM *AND* Vhd | |
$VMs = get-vm | Out-GridView -OutputMode Multiple | |
$Disks = $VMs | Get-VMHardDiskDrive | % path | |
$VMs | stop-vm -Force -TurnOff -Confirm:$False -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | |
$VMs | Remove-VM -Force -Confirm:$False |