Anyone written Powershell or Python code that will allow me to take a folder with files in it, create a .tmp file out of it, grab the prefetch data and update an existing task?
This would include things like getting the sha1 and 256 hash (get-filehash in powershell) and the size value as well. I have all this but the sha1, sha256 and size is off from what the wizard does. I suspect IBM is adding things into the process.
GUI is fine but I want it in command line or scripting.
The console Wizard support does allow uploads which return the hashes so you could look at some of those for examples. Its not very simple though to do.
There are definitely scriptable ways to do the same…just you have to write the scripts.
I haven’t gone through SWD extensively, but for the most part it’s REST API calls, bfarchive, and dashboard variables. The filename extension it uses is there to “tag” the files as SWD packages, the BES Server Upload Maintenance Service scavages for SWD file uploads that aren’t referenced in the dashboard anymore and removes them.