Drop the use of modules
This commit is contained in:
parent
c29a08919e
commit
ba1d13d7ee
1 changed files with 96 additions and 98 deletions
|
@ -8,7 +8,6 @@ function Initialize-SetupConfig() {
|
|||
[System.Xml.XmlNamespaceManager] $namespace
|
||||
);
|
||||
|
||||
$null = New-Module {
|
||||
$setupComponent = $config.SelectSingleNode(
|
||||
"/ua:unattend/ua:settings[@pass='windowsPE']/ua:component[@name='Microsoft-Windows-Setup']",
|
||||
$namespace);
|
||||
|
@ -122,7 +121,6 @@ function Initialize-SetupConfig() {
|
|||
|
||||
Move-PartitionRange -1 -1 ($To + 1)
|
||||
}
|
||||
}
|
||||
|
||||
# Resize EFI partition to 1GB
|
||||
$partitionCreations[1].SelectSingleNode("./ua:Size", $namespace).InnerText = "$(1024)";
|
||||
|
|
Loading…
Reference in a new issue