LabBuilder

1.0.5.105

Builds Hyper-V Windows multi-machine/Active Directory labs using XML configuration files and DSC Resources.

Minimum PowerShell version

5.1

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name LabBuilder -RequiredVersion 1.0.5.105

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name LabBuilder -Version 1.0.5.105

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2019 Daniel Scott-Raynsford. All rights reserved.

Package Details

Author(s)

  • Daniel Scott-Raynsford

Tags

Hyper-V Lab DesiredStateConfiguration DSC

Functions

Get-LabResourceModule Initialize-LabResourceModule Get-LabResourceMSU Initialize-LabResourceMSU Get-LabResourceISO Initialize-LabResourceISO Get-LabSwitch Initialize-LabSwitch Remove-LabSwitch Get-LabVMTemplateVHD Initialize-LabVMTemplateVHD Remove-LabVMTemplateVHD Get-LabVMTemplate Initialize-LabVMTemplate Remove-LabVMTemplate Get-LabVM Initialize-LabVM Install-LabVM Remove-LabVM Get-Lab New-Lab Install-Lab Update-Lab Uninstall-Lab Start-Lab Stop-Lab

PSEditions

Desktop

Dependencies

This module has no dependencies.

Release Notes


## What is New in LabBuilder 1.0.5.104

- Samples\Sample_WS2019_AzureADConnect.xml: Added sample for installing Azure AD
 Connect.
- Convert all DSC configurations to use ActiveDirectoryDsc version
 4.1.0.0.
- `dsclibrary\RODC_SECONDARY.DSC.ps1`:
 - Enable RODC creation because it is supported by ActiveDirectoryDsc.
- `dsclibrary\DC_FORESTPRIMARY.DSC.ps1`:
 - Enabled customizing of Domain NetBios name.
- `Get-LabVm.ps1`:
 - Clean up code style.
- `Enable-LabWSMan.ps1`:
 - Improved function so that if WinRM Service is stopped it will be started.
- `Get-Lab.ps1`:
 - Clean up code style.
 - Fix bug reading `configpath` from `settings` node.
 - Changed to use `ConvertTo-LabAbsolutePath.ps1` to simplify code.
 - Changed to automatically use the `DSCLibrary` folder that comes as part of
   the LabBuilder module if the `dsclibrarypath` setting is not specified
   in the lab configuration - fixes [Issue-335](https://github.com/PlagueHO/LabBuilder/issues/335).
- `ConvertTo-LabAbsolutePath.ps1`:
 - Added function to create an absolute path from a relative lab path.
- Removed `dsclibrarypath` setting from all samples as it is no longer required.
- `Get-LabResourceISO.ps1`:
 - Clean up code style.

## What is New in LabBuilder 1.0.4.83

- `Get-LabUnattendFileContent.ps1`:
- Enabled PSRemoting in Unattend.xml (allows DSC to initialize properly on
  newer operating systems).
- Enabled local administrator account for Client operating systems
 (Windows 10).
- Enabled PowerShell script execution for both 32-bit and 64-bit processes.
- `Connect-LabVM.ps1`:
- Test WinRM connectivity prior to initializing DSC.
- `Install-LabVM.ps1`:
 - Check for DSC Configuration section in XML file prior to calling DSC.

July 21, 2019

- `dsclibrary\MEMBER_SUBCA.DSC.ps1`:
 - CAServer parameter removed from ADCSWebEnrollment - fixes [Issue-320](https://github.com/PlagueHO/LabBuilder/issues/320).
 - Fix error occuring when `c:\windows\setup\scripts\` folder does not exist when
   setting the advanced CA configuration settings - fixes [Issue-325](https://github.com/PlagueHO/LabBuilder/issues/325).
- `dsclibrary\MEMBER_ROOTCA.DSC.ps1`:
 - CAServer parameter removed from ADCSWebEnrollment - fixes [Issue-320](https://github.com/PlagueHO/LabBuilder/issues/320).
 - Change `DiscreteSignatureAlgorithm` to `AlternateSignatureAlgorithm` and set
   it to 0 - fixes [Issue-322](https://github.com/PlagueHO/LabBuilder/issues/322).
 - Fix error occuring when `c:\windows\setup\scripts\` folder does not exist when
   setting the advanced CA configuration settings - fixes [Issue-325](https://github.com/PlagueHO/LabBuilder/issues/325).
 - Changed CApolicy.inf RenewalKeyLength to 4096, CNGHashAlgorithm to SHA256 and
   LoadDefaultTemplates to 0 - fixes [Issue-324](https://github.com/PlagueHO/LabBuilder/issues/324).
- `dsclibrary\STANDALONE_ROOTCA.DSC.ps1`:
 - Correct SubCA resource name to wait for - fixes [Issue-321](https://github.com/PlagueHO/LabBuilder/issues/321).
 - Change `DiscreteSignatureAlgorithm` to `AlternateSignatureAlgorithm` and set
   it to 0 - fixes [Issue-322](https://github.com/PlagueHO/LabBuilder/issues/322).
 - Fix error occuring when `c:\windows\setup\scripts\` folder does not exist when
   setting the advanced CA configuration settings - fixes [Issue-325](https://github.com/PlagueHO/LabBuilder/issues/325).
- `dsclibrary\STANDALONE_ROOTCA_NOSUBCA.DSC.ps1`:
 - Change `DiscreteSignatureAlgorithm` to `AlternateSignatureAlgorithm` and set
   it to 0 - fixes [Issue-322](https://github.com/PlagueHO/LabBuilder/issues/322).
 - Fix error occuring when `c:\windows\setup\scripts\` folder does not exist when
   setting the advanced CA configuration settings - fixes [Issue-325](https://github.com/PlagueHO/LabBuilder/issues/325).
- Added `.markdownlint.json` file.
- Fix markdown rule violations in `CHANGELOG.MD`.
- `dsclibrary\MEMBER_FAILOVERCLUSTER_DHCP.DSC.ps1`:
 - Fix DHCP scope to work with newer version of xDhcpServerScope DSC resource.
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\STANDALONE_DHCPDNS.DSC.DSC.ps1`:
 - Fix DHCP scope to work with newer version of xDhcpServerScope DSC resource.
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\STANDALONE_INTERNET.DSC.DSC.ps1`:
 - Fix DHCP scope to work with newer version of xDhcpServerScope DSC resource.
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCP.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCPDNS.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCPNPAS2016.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCP.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCP.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCP.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_DHCP.DSC.ps1`:
 - Update to require xDhcpServer resource 2.0.0.0.
- `dsclibrary\MEMBER_NPS_DFSTEST.ps1`:
 - Fix to use correct name of the DFSReplicationGroup resource.
- `dsclibrary\MEMBER_WDS.DSC.ps1`:
 - Fix configuration.

## What is New in LabBuilder 1.0.2.58

May 5, 2019

- Reword module description in Manifest.
- Fix bug when connecting to a Lab VM when TrustedHosts is empty - fixes
   [Issue #314](https://github.com/PlagueHO/LabBuilder/issues/314).
- Moved Schema documentation file into docs folder and converted to
   PlatyPS compatible file.
- Cleaned up Schema documentation file to remove most markdown rule
   violations.
- Cleaned up README.MD file to remove most markdown rule
   violations.
- Fix infinite loop bug occuring in `Stop-Lab` when Lab VM does not
 exist - fixes [Issue #316](https://github.com/PlagueHO/LabBuilder/issues/316).
- Fix infinite loop bug occuring in `Start-Lab` when Lab VM does not
 exist.
- DSCLibrary\MEMBER_NANO.DSC.ps1: Rename xOfflineDomainJoin to
 OfflineDomainJoin - fixes [Issue #317](https://github.com/PlagueHO/LabBuilder/issues/317).

FileList

Version History

Version Downloads Last updated
1.2.1-previe... 76 11/14/2020
1.2.0 1,721 11/14/2020
1.2.0-previe... 44 11/14/2020
1.2.0-previe... 47 9/14/2020
1.2.0-previe... 45 9/13/2020
1.1.1-previe... 44 9/13/2020
1.1.1-previe... 44 9/13/2020
1.1.0 149 8/30/2020
1.1.0-previe... 45 8/30/2020
1.1.0-previe... 57 4/22/2020
1.1.0-previe... 52 4/22/2020
1.0.5.105 (current version) 418 11/10/2019
1.0.4.84 130 9/28/2019
1.0.3.70 172 7/22/2019
1.0.2.59 169 5/4/2019
1.0.1.40 83 4/13/2019
1.0.0.7 273 12/8/2018
0.8.4.1160 373 5/22/2018
0.8.3.1140 789 7/17/2017
0.8.3.1132 54 7/16/2017
0.8.3.1124 121 6/29/2017
0.8.3.1116 177 5/20/2017
0.8.3.1107 566 11/26/2016
Show less