Feat: Auto-copy + configure BGINFO32 inside clients

This commit is contained in:
Alexandre S 2021-05-12 10:26:02 +02:00
parent cf78bbf153
commit 119b71e0e6

View File

@ -14,6 +14,10 @@ Mount-VHD d:\VHD\CLI-01.vhdx
Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml
#mkdir e:\Tools\Scripts
#Copy-item d:\Scripts\Guests\CLI-01.ps1 E:\Tools\scripts
mkdir c:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo.exe C:\Program Files\BGINFO
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi C:\Program Files\BGINFO
Copy-Item Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.bat C:\Users\AdminLocal\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Dismount-VHD d:\VHD\CLI-01.vhdx
$vms = @{
@ -42,6 +46,10 @@ Mount-VHD d:\VHD\CLI-03.vhdx
#Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml
#mkdir e:\Tools\Scripts
#Copy-item d:\Scripts\Guests\CLI-03.ps1 E:\Tools\scripts
mkdir c:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo.exe C:\Program Files\BGINFO
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi C:\Program Files\BGINFO
Copy-Item Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.bat C:\Users\AdminLocal\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Dismount-VHD d:\VHD\CLI-03.vhdx
$vms = @{