Set-OdbcDsn -Name "witona" -DsnType "All" -Platform "All" -SetPropertyValue "Server=192.168.1.50,52025" #$uri = "https://pajcomp.pl/pub/Insoft/PCMarket/pcmarket_7_9_129_184_x64.exe" #$installerPath = Join-Path $env:TEMP (Split-Path $uri -Leaf) #Get-File -Url $uri -OutFile $installerPath #Start-Process -FilePath $installerPath -Verb RunAs -Wait -ArgumentList "--mode unattended --unattendedmodeui minimalWithDialogs --installer-language pl --db 0 --template 0 --killall 1 --enable-components installPcm,AktualizacjaShoper" #$uri = "https://pajcomp.pl/pub/Insoft/PCPos/pcpos7_install_7_9_65_160_x64.exe" #$installerPath = Join-Path $env:TEMP (Split-Path $uri -Leaf) #Get-File -Url $uri -OutFile $installerPath #Start-Process -FilePath $installerPath -Verb RunAs -Wait -ArgumentList "--mode unattended --unattendedmodeui minimalWithDialogs --installer-language pl --TYPDBINSTALL 1 --TYPDRUK SpoofFiscalPrinter --enable-components nativeclient2014,POSY"