PowerShell is the way to go here, either through winrm or psexec
Sysadmin
A community dedicated to the profession of IT Systems Administration
No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
[email protected]
[email protected]
[email protected]
[email protected]
This is the answer for such a small group of machines. Have chatgpt write a script that runs X on every device in a list. Then have X be the install from a network share.
Then, with the script it made, double check every line and confirm it didn't make shit up.
PDQ Deploy is pretty highly recommended.
I would second pdq.
I use the free version to assist with the non gpo installable crapware the school has to use. It is restricted in what it can do but us good enough.
For python and the like, are you sure you want that on your network on every day workstations? Most school networks have a no programming languages policy (though handwave powershell)
We use a virtualbox vm with an immutable hard disk as a container.... Semms to work OK and might be something to look at. Has the advantage that updates are simple - change to disk image.
Look into psexec, MS bought it & the rest of that suite of tools, long ago and last I looked, still supported them. (Yep. Still do)
They were easily scripted, perfect for managing small labs, or OUs.
More here: https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
Id make sure winrm is setup and use Ansible.
Or install and configure ssh and use powershell
If it can't cost anything, and time is not too much of an issue, you might want to use winget or chocolatey. If there's packages, you can write the script quite easily, then run it on every machine.
The tool sets you're looking for fall under a category called IaC (infrastructure as code). They allow you to define environments and add installers and configuration to those environments. Typically they require an extra network-accessable server to act as a controller for the toolset.
My personal go-to at work for exactly what you're asking is Puppet.
Other popular options: Sccm, Chef, Ansible
I've never heard of IAC on Windows desktops. IAC is about consistent building of cloud resources. These are individual physical devices and probably aren't all being flashed and rebuilt with every deployment.
https://learn.microsoft.com/en-us/mem/configmgr/core/understand/introduction
Configuration Manager / intune / sccm / whatever they change the name to next is the first-party solution from MS. It has always been able to modify an existing install. Push out a fresh piece of software, reconfigure one, uninstall one, force a group to update a gpo or update windows, etc...
Most universities use intune/puppet/chef for this in labs and for deployed desktops/laptops to faculty/staff to keep things up to date and consistent.
Sure. We manage about 110,000 endpoints with it at the office. It's just not infrastructure as code.
Intune is kinda point-and-clickey for sure, but would you not consider puppet and ansible IaC? What would you classify it if not?
As I understand it, IAC is not about managing devices. When a IAC created device needs an update, you update the config, blow away the device, and build new.
Ansible and puppet manage devices. If you need a change, you send the package or config or reg key. You can't blow away a device and build identical, like you can with IAC. At least not easily and without lots of careful group management.
That said, IAC is changing fast and I may not be up to speed on all the features of those tools. We're an MECM and intune shop, with a bit of jamf on the side.
Me as a potato would use https://ninite.com/ for python and figure out a silent install for codium and make a batch script to install them.
I would also look into setting up a https://fogproject.org/ server to image windows devices if you have no money or resources.
Are they domain joined? You could always use active directory to do a mass install. I like RZget from Ruckzuck but I'm sure there are plenty of similar tools.
Another option is to use SSH and clusterssh to run commands on each machine. Its more of a Linux solution but it should work assuming you willing to go around and add the same public key to each machine.
Sccm or Intune
Not free though
Crazy levels of work required...
USB Rubber Ducky or similar
Now that's a solution I've never thought of