New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to automate Snipe-it? #6797
Comments
I know there are a few in the community that will be able to shed some light here for you, for sure there is a posweshell script that works with AD |
:D |
@SavageSquirrel check out https://github.com/snazy2000/SnipeitPS @snazy2000 is the man behind this.
|
I am working on a PowerShell script that will sync AD information to Snipe-IT but not from End User to Snipe-IT. (cannot guarantee if or when this will be open source...) The PS Module that @EarlRamirez linked to would require you to upgrade your PS version on all endpoints to v5+ or to also install the PowerShellGet on all older machines. (This means anything older than Windows 10 needs an upgrade or dependency install.) Also, running a script like this on endpoints would expose your local API key which probably isn't the best idea. There could be ways around this by having a script on each machine write a flat file that a then secure server picks up and uses the API to import but this would be a lot of orchestrating for just some attributes but if you're willing then go for it! You could also try having a script run on a secure server that remotely connects to every machine for its information, (see here) but your network administrators may not allow this and could be resource intensive depending on your total amount of endpoints. Lastly, all of those methods bypass just using actual Active Directory lookups, which is what I am in the middle of doing. This also depends on what information you're actually getting and storing with Active Directory. You should also note that in Active Directory the "Operating System" field is ONLY updated when the computer is rebound to AD. So if you re-image a Windows 7 machine to Windows 10 in place and it doesn't change names/get rebound, then the OS field in AD will still say Windows 7. With all this said if you have any experience with programming, picking up Powershell is very intuitive, very well documented, and a great skill if you have the time! Please let me know if you have any questions, I'll be happy to answer as best I can! |
Thank you for your advice. |
https://github.com/ReignSol/snipeit-powershell
|
We do this with the Snipe API. Simply run a script on your client computers using your current management tools that gathers the data you want and then sends it to Snipe using a As far as syncing AD, we have a script running on the Snipe IT server that uses the API to get a list of all users in snipe, queries AD using the |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it. |
hi @bricelabelle , this is exactly what I wanna achieve, but I dont know how to use the api and how to use it as a script on the host. can you pls. guide me on the steps. thank you so much |
hi @SavageSquirrel .. have you found a solution ?? thanks |
There is a rather basic open source Windows Agent available: https://github.com/Scope-IT/marksman. Maybe you can take it from there?
|
No funciona en las últimas versiones
|
Hi there! Sorry for bothering you. I am trying to automate Snipe IT like this but I am having some trouble finding out how will I auto-update the assets. Can you please help me? Thanks in advance! |
Hi, please check https://github.com/aadrsh/snipe-it-python-agent
|
Hey hey :) i see now: When i would have the csv files from snipe-it i could automate a import job? Users, users licenses Thank you so much for any hint. SnipeIT would be perfect :) |
You can use the python script I've tried it but in a way I was aiming to save all software list of a PC in Snipe IT. |
Server (please complete the following information):
Is your feature request related to a problem? Please describe.
We have thousands of data entry for the fields in our Snipe-it inventory system, and that is far too time consuming. We are IT support company for other companies, and this is a good free software, but it is too time consuming.
Describe the solution you'd like
We need as much automation of inventory updating as possible. Does anybody know if someone has created a feature that can add more automation of new data into Snipe-it? We are looking to have an inventory software such as Snipe-it receive and display data from hundreds of desktop computers automatically, with all the data points updating into Snipe-it.
Example: An office worker's desktop computer is upgraded from Windows 7 to Windows 10, and later in the day, that computer communicates somehow with Snipe-it, and tells it that it is now a Windows 10 computer.
Describe alternatives you've considered
Is there a software that can automatically send computer desktop system information, for example in a CSV file, to a plug-in or add-on for Snipe-it? Thank you!
We have also considered Switching to Spiceworks, as they have an inventory management system, and a ticketing system, but our business owner does not want to switch to that system, perhaps because it would cost him money.
Additional context
I am a new Snipe-it user, but I do have a degree in computers, so I am good with software, but new to this one. Please let me know if there is any way I can improve our situation, to get things moving, you will be of so much help, thank you!
The text was updated successfully, but these errors were encountered: