UnattendXmlBuilder
2.0.0
Module for building Windows unattend XML documents.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2023 MartinGC94. All rights reserved.
Package Details
Author(s)
- MartinGC94
Tags
Unattend Autounattend XML Windows Installation
Functions
Add-UnattendCommand Add-UnattendDiskPartition Add-UnattendDriverPath Add-UnattendGroupMember Add-UnattendImage Add-UnattendInterfaceDnsConfig Add-UnattendInterfaceIpConfig Add-UnattendUser Export-UnattendFile New-UnattendBuilder Set-UnattendAudioSetting Set-UnattendAutoLogon Set-UnattendComputerName Set-UnattendDnsSetting Set-UnattendDomainJoinInfo Set-UnattendFirewallSetting Set-UnattendIpSetting Set-UnattendLanguageSetting Set-UnattendOobeSetting Set-UnattendOwnerInfo Set-UnattendPowerSetting Set-UnattendProductKey Set-UnattendRdpSetting Set-UnattendServerManagerSetting Set-UnattendSysPrepSetting Set-UnattendTimeSetting Set-UnattendTpmSetting Set-UnattendUacSetting Set-UnattendWindowsSetupSetting Set-UnattendWinReSetting
PSEditions
Dependencies
This module has no dependencies.
Release Notes
2.0.0:
Added parameter validation for the -WDS and -DataImage switches in Add-UnattendImage
If a false value is specified it will throw an error.
Fixed the checks for several parameters for Add-UnattendImage so that values that PowerShell would convert to false are now passed along properly (empty strings, the number 0, etc.).
In Add-UnattendCommand, converted -FirstLogonCommand and -LogonCommand from switch parameters to string array parameters and removed the -Command parameter from the FirstLogon and LogonPersistent parameter sets.
This means users can specify the commands to run directly in the -FirstLogonCommand and -LogonCommand parameters instead of having to specify both a switch and -Command.
Updated the product key argument completers replacing the win 10 keys with 11 and adding server 2025 standard and datacenter.
Added -UserLocale parameter to New-UnattendBuilder
1.1:
Assign parameter position 0 to Export-UnattendFile:FilePath
Add "RecoveryBIOS" as a valid value for Add-UnattendDiskPartition:PartitionType
Update the BIOS disk template for Add-UnattendDiskPartition so it creates the partition with the correct ID.
1.0.3:
Resolve relative paths for the SourceFile parameter of the New-UnattendBuilder command
1.0.2:
Fix TimeZone completer for Set-UnattendTimeSetting
1.0.1:
Add argument completers for the following Commands and parameters:
Set-UnattendTimeSetting:TimeZone
Set-UnattendLanguageSetting:UiLanguageFallback
Add positions for the following command and parameter combinations:
Add-UnattendCommand:Command
Add-UnattendDriverPath:Path
Set-UnattendComputerName:ComputerName
Set-UnattendProductKey:ProductKey
Fix commands that wouldn't work properly when using certain parameters:
Add-UnattendDriverPath:Path
Add-UnattendInterfaceIpConfig:DefaultGateway
Set-UnattendFirewallSetting:EnabledFirewallGroups
Set-UnattendFirewallSetting:DisabledFirewallGroups
Set-UnattendFirewallSetting:LogDroppedPackets
1.0:
Initial release
FileList
- UnattendXmlBuilder.nuspec
- UnattendXmlBuilder.psd1
- UnattendXmlBuilder.psm1