DeployImage
1.5
A module to help simplify the deployment of Nano Server, Windows to Go and other WIM files to both physical and VHD
Installation Options
Owners
Copyright
(c) 2015 Sean Kearney. All rights reserved.
Package Details
Author(s)
- SeanKearney
Functions
Copy-WithProgress Remove-DriveLetter Get-ArchitectureString Test-WindowsADK Get-AttachedDisk Clear-DiskStructure New-PartitionStructure Send-SanPolicy New-UnattendXMLContent Send-UnattendXML Send-BootCode New-NanoServerWIM New-WindowsPEWim
Dependencies
This module has no dependencies.
Release Notes
This module can be found on the PowerShell Gallery under 'DeployImage' and also on Github under https://github.com/energizedtech/DeployImage
It introduces 13 new Cmdlets to try and simplify Deploying Nanoserver and Wim files to VHD, USB and Physical Disk environments. (Nano Server being the Dominant reason)
Clear-DiskStructure
This Cmdlets task is to Enhance the Clear-Disk Cmdlet and simplify it as I have encountered situations in which you need to remove Partitions first before Clear-Disk successfully cleans the Target Disk
Copy-WithProgress
This Cmdlet is still being tested and is meant as a "Copy-Item" with Progress to show SOME indication of where a large folder copy is at
Get-ArchitectureString
This Cmdlet returns the string " (x86)" if you are on 64bi Windows. It is meant as a way to inject into the 32 Program Files pathname
Get-AttachedDisk
Get-AttachedDisk is a Wrapper on the Get-Disk Cmdlet which targets either Internal or USB. It also provides a GUI parameter to launch Out-Gridview to select disks
New-NanoServerWIM
This creates a Custom Nanoserver WIM based upon Selected roles and stores it away for deployment. It works but uses the filename
New-PartitionStructure
This Cmdlet creates one of three stock basic Parition structures, either MBR for USB, MBR for Filesystem or GPT for UEFI and Formats targeted drives
New-UnattendXMLContent
This is a Parameterized Cmdlet to provide an Unattend.XML file content. Domain Join is an option and will populate the additional needed content.
New-WindowsPEWim
This builds a WindowsPE Wim file pre-populated with the necessary OCS for Windows PowerShell, DISM and Storage Cmdlets. It also autolaunches PowerShell with the Set-ExecutionPolicy to Bypass
Remove-DriveLetter
This simply Removes and verifies removal of a Drive Letter from the Drive system
Send-BootCode
Makes a Disk bootable
Send-SanPolicy
This is meant for Windows to Go. It just builds and applies a targeted disk with the SanPolicy for Windows to Go
Send-UnattendXML
Deploys an Unattend file to a target Operating System
Test-WindowsADK
Test for the Presence of the Windows 10 ADK
There are also 4 sample scripts provided
DeployNanoServerPhysicalMedia.ps1
Prompts for an available USB key, Prepares it as Bootable WinPE with PowerShell and with Nanoserver media, Drivers and DeployImage Module
DeployWindowsPE.ps1
Prompts for an available USB key, Prepares it as Bootable WinPE with PowerShell
DeployNanoServerVHD.ps1
Deploy Nanoserver Wim file to a VHD
DeployNanoServerPhysical.ps1
Deploy Nano Server to a Targeted Disk
FileList
- DeployImage.nuspec
- deployimage.format.ps1xml
- deployimage.psd1
- DeployImage.psm1
- DeployNanoServerPhysical.ps1
- DeployNanoServerPhysicalMedia.ps1
- DeployNanoServerVHD.ps1
- DeployWindowsPE.ps1
- README.md
Version History
Version | Downloads | Last updated |
---|---|---|
2.1 | 694 | 8/14/2019 |
2.0 | 22 | 8/14/2019 |
1.21 | 1,132 | 5/2/2016 |
1.11 | 116 | 2/29/2016 |
1.10 | 73 | 1/23/2016 |
1.9 | 28 | 1/19/2016 |
1.8 | 73 | 12/15/2015 |
1.7 | 23 | 12/14/2015 |
1.6 | 53 | 12/7/2015 |
1.5 (current version) | 32 | 12/1/2015 |
1.4 | 23 | 11/29/2015 |
1.3 | 23 | 11/29/2015 |
1.2 | 27 | 11/27/2015 |
1.1 | 25 | 11/20/2015 |
1.0 | 26 | 11/15/2015 |