Adding auto rename of computers

This commit is contained in:
2024-06-20 10:49:36 +02:00
parent 1dd0c4bd19
commit b62f8573b7

View File

@@ -40,6 +40,7 @@ function StandardSetup {
InstallChoco InstallChoco
InstallChocoApps -Type $Type InstallChocoApps -Type $Type
InstallApps -Type $Type InstallApps -Type $Type
Rename-Computer -NewName "PC-IPR-$Type"
UpdateWindows UpdateWindows
Show-WDACMenu Show-WDACMenu
Write-Host "Installation complete!" Write-Host "Installation complete!"