Feat: Auto-copy + configure BGINFO32 inside clients
This commit is contained in:
parent
cf78bbf153
commit
119b71e0e6
@ -14,6 +14,10 @@ Mount-VHD d:\VHD\CLI-01.vhdx
|
|||||||
Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml
|
Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml
|
||||||
#mkdir e:\Tools\Scripts
|
#mkdir e:\Tools\Scripts
|
||||||
#Copy-item d:\Scripts\Guests\CLI-01.ps1 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
|
Dismount-VHD d:\VHD\CLI-01.vhdx
|
||||||
|
|
||||||
$vms = @{
|
$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
|
#Copy-Item d:\Unattend\CLI-01.xml -Destination f:\Windows\Panther\Unattend.xml
|
||||||
#mkdir e:\Tools\Scripts
|
#mkdir e:\Tools\Scripts
|
||||||
#Copy-item d:\Scripts\Guests\CLI-03.ps1 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
|
Dismount-VHD d:\VHD\CLI-03.vhdx
|
||||||
|
|
||||||
$vms = @{
|
$vms = @{
|
||||||
|
Loading…
Reference in New Issue
Block a user