Skip to content

Commit

Permalink
Merge pull request #20 from pvs043/dev
Browse files Browse the repository at this point in the history
Release 3.0.0
  • Loading branch information
pvs043 authored Apr 12, 2024
2 parents 60b0300 + b5d1670 commit 0dbaf44
Show file tree
Hide file tree
Showing 37 changed files with 894 additions and 2,938 deletions.
6 changes: 0 additions & 6 deletions .MetaTestOptIn.json

This file was deleted.

251 changes: 251 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
slnx.sqlite

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
[Xx]64/
[Xx]86/
[Bb]uild/
bld/
[Bb]in/
[Oo]bj/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# DNX
project.lock.json
artifacts/

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

*.pssproj
*.sln
.gitignore
.gitattributes

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml

# TODO: Un-comment the next line if you do not want to checkin
# your web deploy settings because they may include unencrypted
# passwords
#*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Microsoft Azure ApplicationInsights config file
ApplicationInsights.config

# Windows Store app package directory
AppPackages/
BundleArtifacts/

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# LightSwitch generated files
GeneratedArtifacts/
ModelManifest.xml

# Paket dependency manager
.paket/paket.exe

# FAKE - F# Make
.fake/
16 changes: 9 additions & 7 deletions Build.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
$moduleName = "cMDTBuildLab"
$moduleGuid = "df45de26-88b1-4a95-98af-b798fde1424f"
$year = (Get-Date).Year
$moduleVersion = "2.5.0"
$moduleVersion = "3.0.0"
$releaseNotes = "
* Add CreateISOx64 parameter for cMDTBuildUpdateBootImage resource. Default is false
* Add support to Domain\User credentials for access to MDT share
* Remove Windows 8.1 and Windows 2012 R2 deploy from main configuration. Old config saved in Deploy_MDT_Server_ConfigurationData_Archived.psd1
* Update Servicing stack update for Windows 7 SP1 (KB4490628). Make changes at your configuration file (Deploy_MDT_Server_ConfigurationData.psd1) and delete KB3177467 folders at E:\Source
* Update script for remove default Windows 10 apps. Remove E:\Source\RemoveDefaultApps before upgrade
* Remove Windows 7/8.1/2012R2 deployments and prerequisites
* Update download URLs for MDT
* Add MDT Hotfix KB4564442 (Build: 6.3.8456.1001)
* Update ADK (v.2004)
* Download ADK installers (cMDTBuildLabPrereqs)
* Update VC++ prerequisites (VC++ 2022)
* New design for AppVeyor tests
"
$allResources = @( Get-ChildItem -Path $PSScriptRoot\src\DSCResources\*.psm1 -ErrorAction SilentlyContinue -Recurse | Sort-Object)
$allFunctions = @( Get-ChildItem -Path $PSScriptRoot\src\Public\*.ps1 -ErrorAction SilentlyContinue -Recurse | Sort-Object)
Expand Down Expand Up @@ -93,7 +95,7 @@ Description = 'A DSC Module to help automize deployment Windows Reference Images
HelpInfoURI = 'https://github.com/pvs043/cMDTBuildLab/wiki'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.0'
PowerShellVersion = '5.1'
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('cNtfsAccessControl',
Expand Down
40 changes: 10 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This is the development branch with latest changes.
Official repository - latest module version and download count.

## Version
2.5.0
3.0.0

See version history at [Project Site](https://github.com/pvs043/cMDTBuildLab/wiki/Version-History)

Expand All @@ -28,43 +28,26 @@ See version history at [Project Site](https://github.com/pvs043/cMDTBuildLab/wik
Prerequisites for infrastructure:
* Domain Controller: DC01 (Windows 2012 R2 or above)
* Windows Update Server (WSUS): WU01 (Windows 2012 R2 or above)
* Deployment server: MDT01 (Windows 2016/2019 or Windows 2012 R2 + WMF 5.1)<br>
* Deployment server: MDT01 (Windows 2016/2019)<br>
Disk C: - System<br>
Disk E: - DATA<br>
(Disk D: is used for Temp in Azure or Virtual DVD for on-premise deploy)
* Hyper-V Host: HV01 (Windows 2012 R2 or above)
* Original Microsoft media (ISO) images:<br>
Windows 7 with SP1 (April 2011)<br>
Windows 8.1 (November 2014)<br>
Windows 10 Version 1809 (November 2018)<br>
Windows 2012 R2 (November 2014)<br>
Windows 2016 (February 2018)<br>
Windows 2019 (November 2018)
Windows 10 Version 22H2 (November 2022)<br>
Windows 2019 (April 2019)

This module is tested on Windows 2016/2019 server, but it will be worked on Windows 10 or Windows 2012 R2/Windows 8.1 + WMF 5.1.

The following prerequisites automatically downloaded with the cMDTBuildPreReqs DSC resource:
* [MicrosoftDeploymentToolkit_x64](https://www.microsoft.com/en-us/download/details.aspx?id=57775) - Microsoft Deployment Toolkit (MDT) (Build 6.3.8456.1000)
* [WinPE v.1809](https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install) - Windows PE, v.1809 (Build: 10.1.17763.1)
* [Visual C++ runtimes](https://support.microsoft.com/en-us/kb/2977003) - 2008,2010,2012,2013,2017
* [Windows Management Framewework 3.0 for Windows 7 SP1](https://www.microsoft.com/en-us/download/details.aspx?id=34595)
* [Windows Management Framewework 5.1 for Windows 8.1 and Windows 2012 R2](http://aka.ms/wmf5latest)
* [Servicing stack update for Windows 7 SP1](https://support.microsoft.com/en-us/kb/4490628)
* [Convenience rollup update for Windows 7 SP1](https://support.microsoft.com/en-us/kb/3125574)
* [July 2016 update rollup for Windows 7 SP1](https://support.microsoft.com/en-us/kb/3172605) - this include fixes the Windows Update Client
* [July 2016 update rollup for Windows 8.1 and Windows Server 2012 R2](https://support.microsoft.com/en-us/kb/3172614) - this include fixes the Windows Update Client
* [MicrosoftDeploymentToolkit_x64](https://docs.microsoft.com/en-us/sccm/mdt/) - Microsoft Deployment Toolkit (MDT) (Build 6.3.8456.1000)
* [ADK & WinPE v.2004](https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install) - Windows PE, v.2004 (Build: 10.1.19041.1)
* [Visual C++ runtimes](https://support.microsoft.com/en-us/kb/2977003) - 2013,2015-2022

If your MDT01 host does not have direct connection to Internet, run DSC configuration from Deploy\Download_MDT_Prereqs.ps1 at Windows machine connected to Internet.
After completion of downloading:
* Run E:\Source\ADK\adksetup.exe. Select E:\Source\ADK for download folder
* Run E:\Source\WindowsPE\adkwinpesetup.exe. Select E:\Source\WindowsPE for download folder

Note for APP-V 5.1 (Windows 7 / 8.1) client:<p>
This module include *fake* archive Sources\appv_client_setup.zip.<p>
If you have Microsoft Software Assurance subscription, take original client of APP-V 5.1 (appv_client_setup.exe) from MDOP 2015 and place into this ZIP file.<p>
This archive will be unpack to source folder with cMDTBuildPreReqs DSC resource.

## Quick start

See [Project Documentation](https://github.com/pvs043/cMDTBuildLab/wiki/Quick-Start).

## DscResources
Expand All @@ -89,21 +72,18 @@ The cMDTBuildLab Module contain the following DscResources:

Want to contribute? Great!

E-mail me with any changes, questions or suggestions: [email protected]<br>
Requiest for the new features at [GitHub](https://github.com/pvs043/cMDTBuildLab/issues).<br>
Thanks to Community: [Issue](https://github.com/pvs043/cMDTBuildLab/issues) and [Pull Requests](https://github.com/pvs043/cMDTBuildLab/pulls)

## Respects

[Johan Arwidmark](http://deploymentresearch.com/Research): Deployment Research<br>
[Mikael Nystrom](https://anothermike2.wordpress.com): The Deployment Bunny<br>
[Jason Helmick](https://twitter.com/theJasonHelmick), [Jeffrey Snover](https://twitter.com/@jsnover):<br>
[1. Getting Started with PowerShell Desired State Configuration (DSC)](https://mva.microsoft.com/en-US/training-courses/getting-started-with-powershell-desired-state-configuration-dsc--8672?l=ZwHuclG1_2504984382). ([Rus](https://mva.microsoft.com/ru/training-courses/-powershell-dsc--8672?l=dlwgB3wFB_1704984382))<br>
[2. Advanced PowerShell Desired State Configuration (DSC) and Custom Resources](https://mva.microsoft.com/en-US/training-courses/advanced-powershell-desired-state-configuration-dsc-and-custom-resources-8702?l=3DnsS2H1_1504984382)
[Jason Helmick](https://twitter.com/theJasonHelmick), [Jeffrey Snover](https://twitter.com/@jsnover)<br>

## License

**MIT**
**Free usage**

[appveyor-badge-master]: https://ci.appveyor.com/api/projects/status/h8qth51otb888a7v?branch=master&svg=true
[appveyor-build-master]: https://ci.appveyor.com/project/pvs043/cmdtbuildlab/branch/master?fullLog=true
Expand Down
Loading

0 comments on commit 0dbaf44

Please sign in to comment.