Benutzer-Werkzeuge

Webseiten-Werkzeuge


bmdasp

alles alt! mit choco installieren!!

run in admin cmd:

edvc-bmdasp.cmd
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://cfg.krainz-edv.at/doku.php?do=export_code&id=bmdasp&codeblock=1'))"
edvc-bmdasp.ps1
# allow ftp
New-NetFirewallRule -DisplayName "FTP Client TCP" -Direction Inbound -Protocol TCP -Profile Any -Program C:\Windows\System32\ftp.exe -Action Allow
New-NetFirewallRule -DisplayName "FTP Client UDP" -Direction Inbound -Protocol UDP -Profile Any -Program C:\Windows\System32\ftp.exe -Action Allow
 
#checkpoint client
$ftpfile1="/BMD-Cloud/CheckPointVPN-BMD-Cloud-AT.msi"
$outpath1 = "$ENV:TEMP\checkpoint.msi"
#parallels client
$ftpfile2="/BMD-Cloud/Parallels-Client-x64.msi"
$outpath2 = "$ENV:TEMP\parallelsclient.msi"
#settings file
$ftpfile3="/BMD-Cloud/Parallels-Client-Settings-BMD-Cloud-AT.2xc"
$outpath3 = "C:\Parallels-Client-Settings-32Bit-Farbtiefe-Std-für-Windows10.2xc"
 
#build ftp commands:
 
$ftpfile = "$ENV:TEMP/ftpfile.txt"
$ftpserver = "open ftp.bmd.at 21"
$ftpuser = "anonymous"
$ftppass = "me@nowhere.invalid"
$ftpbin = "bin"
$ftplocalpath ="lcd $ENV:TEMP"
$ftpcommand1 = "get $ftpfile1 $outpath1"
$ftpcommand2 = "get $ftpfile2 $outpath2"
$ftpcommand3 = "get $ftpfile3 $outpath3"
$ftpbye ="bye"
 
Remove-Item $ftpfile -ErrorAction Ignore
$ftpserver | Add-Content -Path $ftpfile
$ftpuser | Add-Content -Path $ftpfile
$ftppass | Add-Content -Path $ftpfile
$ftpbin | Add-Content -Path $ftpfile
$ftplocalpath | Add-Content -Path $ftpfile
$ftpcommand1 | Add-Content -Path $ftpfile
$ftpcommand2 | Add-Content -Path $ftpfile
$ftpcommand3 | Add-Content -Path $ftpfile
$ftpbye | Add-Content -Path $ftpfile
 
#start ftp download
 
Start-Process "ftp.exe" -ArgumentList "-s:$ftpfile" -Wait -NoNewWindow
 
#install checkpoint vpn client
 
Start-Process msiexec.exe -ArgumentList "/i $outpath1 /qn" -Wait -NoNewWindow
 
#install parallels client
 
Start-Process msiexec.exe -ArgumentList "/i $outpath2 /qn DEFSETTINGS=C:\Parallels-Client-Settings-32Bit-Farbtiefe-Std-für-Windows10.2xc" -Wait -NoNewWindow

bmd asp mail am handy einrichten:

Anleitung

bmdasp.txt · Zuletzt geändert: von edvc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki