From 9a89cbba97a66162511dd3a33cd73d63d37fa95d Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Sun, 9 Jan 2022 13:47:25 +0100 Subject: [PATCH] Test --- VMScripts/ParsecVDDInstall.ps1 | 4 ++-- VMScripts/VBCableInstall.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VMScripts/ParsecVDDInstall.ps1 b/VMScripts/ParsecVDDInstall.ps1 index f5d71bd..a767a5c 100644 --- a/VMScripts/ParsecVDDInstall.ps1 +++ b/VMScripts/ParsecVDDInstall.ps1 @@ -1,9 +1,9 @@ if (!(Get-WmiObject Win32_VideoController | Where-Object name -like "Parsec Virtual Display Adapter")) { (New-Object System.Net.WebClient).DownloadFile("https://builds.parsec.app/vdd/parsec-vdd-0.37.0.0.exe", "C:\Users\$env:USERNAME\Downloads\parsec-vdd.exe") -while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Parsec*'}) -eq $NULL) { +#while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Parsec*'}) -eq $NULL) { certutil -Enterprise -Addstore "TrustedPublisher" C:\ProgramData\Easy-GPU-P\ParsecPublic.cer Start-Sleep -s 5 - } +# } Get-PnpDevice | Where-Object {$_.friendlyname -like "Microsoft Hyper-V Video" -and $_.status -eq "OK"} | Disable-PnpDevice -confirm:$false Start-Process "C:\Users\$env:USERNAME\Downloads\parsec-vdd.exe" -ArgumentList "/s" } diff --git a/VMScripts/VBCableInstall.ps1 b/VMScripts/VBCableInstall.ps1 index 1c981a7..7fbbddc 100644 --- a/VMScripts/VBCableInstall.ps1 +++ b/VMScripts/VBCableInstall.ps1 @@ -10,10 +10,10 @@ $VB.ExportType = [System.Security.Cryptography.X509Certificates.X509ContentType]::Cert; $VB.Cert = (Get-AuthenticodeSignature -filepath $VB.DriverFile).SignerCertificate; [System.IO.File]::WriteAllBytes($VB.CertName, $VB.Cert.Export($VB.ExportType)) - while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Vincent Burel*'}) -eq $NULL) { + #while (((Get-ChildItem Cert:\LocalMachine\TrustedPublisher) | Where-Object {$_.Subject -like '*Vincent Burel*'}) -eq $NULL) { certutil -Enterprise -Addstore "TrustedPublisher" $VB.CertName Start-Sleep -s 5 - } + # } Start-Process -FilePath "C:\Users\$env:Username\Downloads\VBCable\VBCABLE_Setup_x64.exe" -ArgumentList '-i','-h' } \ No newline at end of file