Fix: S BGINFO path

This commit is contained in:
Alexandre S 2021-05-12 16:52:54 +02:00
parent 28d899dc95
commit e4878dcd74

View File

@ -13,11 +13,11 @@ cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\SRV-01.vhdx
Mount-VHD d:\VHD\SRV-01.vhdx
Copy-Item d:\Unattend\server.xml -Destination e:\Windows\Panther\Unattend.xml
mkdir e:\Tools\Scripts
mkdir "e:\Program Files\BGINFO"
Copy-item d:\Scripts\Guests\SRV-01.ps1 E:\Tools\scripts\boot.ps1
mkdir e:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
Dismount-VHD d:\VHD\SRV-01.vhdx
$vms = @{
@ -46,11 +46,11 @@ cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-01.vhdx
Mount-VHD d:\VHD\RTR-01.vhdx
Copy-Item d:\Unattend\server.xml -Destination e:\Windows\Panther\Unattend.xml
mkdir e:\Tools\Scripts
mkdir "e:\Program Files\BGINFO"
Copy-item d:\Scripts\Guests\RTR-01.ps1 E:\Tools\scripts\boot.ps1
mkdir e:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
Dismount-VHD d:\VHD\RTR-01.vhdx
$vms = @{
@ -82,11 +82,11 @@ cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-02.vhdx
Mount-VHD d:\VHD\RTR-02.vhdx
Copy-Item d:\Unattend\server.xml -Destination e:\Windows\Panther\Unattend.xml
mkdir e:\Tools\Scripts
mkdir "e:\Program Files\BGINFO"
Copy-item D:\scripts\Guests\RTR-02.ps1 E:\Tools\scripts\boot.ps1
mkdir e:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
Dismount-VHD d:\VHD\RTR-02.vhdx
$vms = @{
@ -118,11 +118,11 @@ cp D:\VHD\Base\Base_SRV_diff.vhdx D:\VHD\RTR-03.vhdx
Mount-VHD d:\VHD\RTR-03.vhdx
Copy-Item d:\Unattend\server.xml -Destination e:\Windows\Panther\Unattend.xml
mkdir e:\Tools\Scripts
mkdir "e:\Program Files\BGINFO"
Copy-item d:\Scripts\Guests\RTR-03.ps1 E:\Tools\scripts\boot.ps1
mkdir e:\Tools\BGinfo
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
Copy-Item D:\Soft\BGInfo_Deploiement\BGInfo64.exe "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\mescouilles2.bgi "e:\Program Files\BGINFO\"
Copy-Item D:\Soft\BGInfo_Deploiement\bginfo.bat "e:\Users\Administrateur\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"
Dismount-VHD d:\VHD\RTR-03.vhdx
$vms = @{