Fix typos
This commit is contained in:
parent
e37c0c8093
commit
7332049a76
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ function Get-PassSettings {
|
||||||
|
|
||||||
# Adjust unattended settings
|
# Adjust unattended settings
|
||||||
$specializeSettings = Get-PassSettings "specialize";
|
$specializeSettings = Get-PassSettings "specialize";
|
||||||
$specializeSettings.SelectSingleNode("./ua:component[@name='Microsoft-Windows-Shell-Setup']/us:ComputerName", $namespace).InnerText = "$env:WIN_COMPUTER_NAME";
|
$specializeSettings.SelectSingleNode("./ua:component[@name='Microsoft-Windows-Shell-Setup']/ua:ComputerName", $namespace).InnerText = "$env:WIN_COMPUTER_NAME";
|
||||||
|
|
||||||
$oobeSystemSettings = Get-PassSettings "oobeSystem";
|
$oobeSystemSettings = Get-PassSettings "oobeSystem";
|
||||||
$oobeSystemSettings.SelectSingleNode("./ua:component/us:FirstLogonCommands/us:SynchronousCommand[last()]/us:CommandLine", $namespace).InnerText += "`npwsh 'PortValhalla/$env:SETUP_SCRIPT_NAME';";
|
$oobeSystemSettings.SelectSingleNode("./ua:component/ua:FirstLogonCommands/ua:SynchronousCommand[last()]/ua:CommandLine", $namespace).InnerText += "`npwsh 'PortValhalla/$env:SETUP_SCRIPT_NAME';";
|
||||||
|
|
||||||
Write-Warning "Attention: This program will completely wipe your current disk #1 and install Windows on it. Are you sure you want to do this?"
|
Write-Warning "Attention: This program will completely wipe your current disk #1 and install Windows on it. Are you sure you want to do this?"
|
||||||
Read-Host -Prompt "Hit enter to continue or CTRL+C to abort"
|
Read-Host -Prompt "Hit enter to continue or CTRL+C to abort"
|
||||||
|
|
Loading…
Reference in a new issue