Update 'DeployTools/Deploy-FirstBoot.ps1'
This commit is contained in:
@@ -24,7 +24,7 @@ $ta = Get-CimInstance -ClassName SoftwareLicensingProduct -Filter "PartialProduc
|
||||
if ($ta.LicenseStatus -eq 1) {Write-Output "Activation [OK]"} else {Write-Output "Activation [Error, Opening settings]";Start-Process "ms-settings:activation"; pause }
|
||||
|
||||
Write-Output "Getting System name"
|
||||
$sysid = Read-Host -Prompt 'Please enter system ID (example: DT001)'
|
||||
$sysid = Read-Host -Prompt 'Please enter asset ID:'
|
||||
Rename-Computer -NewName $sysid
|
||||
Write-Output "System name [OK]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user