Open DirectITServicesUK opened 2 years ago
good request yes we can do something like that
Probably best to do in TRMM long term, but mesh can also do it now: https://www.youtube.com/watch?v=UOIjWnsxsN8
How do you envision the permissions to work on the uploaded files? Should those be downloadable publicly or just available to the agent?
On another note, I have had really good luck embedded plain text files in powershell as here strings.
$batchfile = @"
@echo off
cd
Start "" /MIN /wait "C:\BgInfo\bginfo.exe" "C:\Bginfo\bginfoconfig.bgi" /timer:0 /nolicprompt
"@
$batchfile | Out-File -FilePath "$env:allusersprofile\Microsoft\Windows\Start Menu\Programs\StartUp\bginfo.bat" -Encoding ASCII
Now the script has no external dependencies and will run on anything anywhere.
Accessible via the token the agent uses? Not public I don't think.
Would be useful for scripts to have a repository to download files from and maybe place them there as well?
Any updates on this?
Also very interested in this. Having it function like Syncro's implementation of it would be fantastic. We used Syncro for a time and that was one of its best features.
Can we have a "files pool". Where installation and/or config files can be stored. So then when a script is scheduled on an agent, for example to install an application, it automagically downloads the file to where the script is run on the agent, rather than having to script the downloading of the file first. Example of use:- BGINFO Lets say you have a BGINFO executable, and a config file, that you want on all machines. That .BGI file will need to be hosted somewhere, and a script needs to grab that file, and place it. Example from competitor - https://community.syncromsp.com/t/scripting-overview/592#required_files