mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
fix: Fix computer name being echoed during device naming
This commit is contained in:
@@ -410,7 +410,7 @@ elseif ($Unattend) {
|
|||||||
Writelog 'Unattend file found with no prefixes.txt, asking for name'
|
Writelog 'Unattend file found with no prefixes.txt, asking for name'
|
||||||
Write-Host 'Unattend file found but no prefixes.txt. Please enter a device name.'
|
Write-Host 'Unattend file found but no prefixes.txt. Please enter a device name.'
|
||||||
[string]$computername = Read-Host 'Enter device name'
|
[string]$computername = Read-Host 'Enter device name'
|
||||||
Set-Computername($computername)
|
$computername = Set-Computername($computername)
|
||||||
Writelog "Computer name will be set to $computername"
|
Writelog "Computer name will be set to $computername"
|
||||||
Write-Host "Computer name will be set to $computername"
|
Write-Host "Computer name will be set to $computername"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user