I have had a tab open to look at this for about 4 weeks
I think you have a couple of typos. the command is:
iwr -useb https://christitus.com/win | iex
I have had a tab open to look at this for about 4 weeks
I think you have a couple of typos. the command is:
iwr -useb https://christitus.com/win | iex
Sorry, I was going off of memory, not good when one’s wife calls him a geezer. The correct command according to his website, yours works too, is ```
irm christitus.com/win | iex. Instead of igm it’s supposed to be irm.
One cool thing about this, that I found out, is after you choose the settings that you want, you can export them to a file. Then afterward programatically call the program with iex “& { $(irm christitus.com/win) } -Config [path-to-your-config] -Run”
If that works in one’s environment, then appears we can put that into a script and apply automatically.
the config option could make it quite useful
I’m not a fan of big monolithic scripts to do everything, so I have a bunch of small powershell scripts for my new computer onboarding and maintenance
For sure this is the way to do it. You can use a simple RMM Alert to trigger an Automated Remediation and control the order the individual scripts run in.
@daniel.hedges I’m confused where this is placed and how the event would trigger the script to run. Do you have the script calling those modules when an asset is assigned to a group that has a policy attached?
What event would trigger the imaging remediation?
Sorry if I am a little slow. Thanks.
you could have a script that you run against a newly deployed machine that creates a staging alert and then the AR would kick off against that alert.
Calling the syncro module locally you could probably do a PowerShell script that installs the syncro agent and then runs a script locally that creates the alert, so you do not need to kick it off from syncro itself.
We are still using FOG so do not need this too much but could use it for other things.
The “start imaging process” is just a script creating a custom RMM Alert. From any RMM Alert, you can have Automated Remediation fire, with multiple scripts queued up in order. I’ll do a complete walk-through post early next week. A good setup might be to have an organization or a Policy folder for “staging” and the Script that fires the RMM Alert is the only setup script that is assigned to the policy that is assigned to that Organization/Folder