Closed jgstew closed 8 years ago
http://software.bigfix.com/download/bes/95/BigFix-BES-Client-9.5.1.9.exe
http://$1:52311/masthead/masthead.afxm
Might be possible to add this as a single line or a few lines at the top of the file. Linebreaks will be an issue.
:<<"::CMDLITERAL"
@ECHO OFF
ECHO
ECHO I am %COMSPEC%
ECHO put CMD/BAT lines in here.
ECHO
PAUSE
EXIT
::CMDLITERAL
For downloading on windows CMD: http://superuser.com/questions/59465/is-it-possible-to-download-using-the-windows-command-line
how to use BITSADMIN priority to download files:
https://technet.microsoft.com/en-us/library/cc771868(v=ws.11).aspx
bigfix client exe silent install switches: http://www-01.ibm.com/support/docview.wss?uid=swg21505981
have bitsadmin ignore invalid SSL:
11110 is the bitset to make bitsadmin ignore all SSL errors (very permissive) 1000 is the bitset to make bitsadmin ignore only SSL signing errors
These bitsets should be applied as their decimal equivalent.
WSF file type is interesting: https://en.wikipedia.org/wiki/Windows_Script_File
VBS wrapped into BAT wrapped into BASH? seems like asking too much:
Seems like it would make more sense to try to make the VBS file from within the BAT file, then run it.
powershell might be the best option:
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://example.com/', 'c:\somefile') }"
needs improvement: https://github.com/jgstew/tools/blob/master/bash/install_bigfix.sh Reference: http://stackoverflow.com/questions/17510688/single-script-to-run-in-both-windows-batch-and-linux-bash
This is completely crazy, but it might actually be possible to allow for install_bigfix.sh to run as a windows .bat file as well, without requiring BASH on windows through something like CygWin.