Code Monkey home page Code Monkey logo

asset-self-reporting-tool-for-snipeit's Introduction

Asset Self Reporting SnipeIT

A script to compile an assets information and update SnipeIT inventory system. Screenshot 2022-02-21 163844

Features:

  • Added/Removed Software Alerting. Checks all software, even user profile installed software.
  • Significant Configuration Change Alerting. A "significant change" is configured as a change in:
    • DeviceName, IpAddress, MacAddress, NetworkAdapters, CPU, RAM_Installed, Drives, DHCP, OS, Bios, LocalAdmins, RemoteUsers, Graphics, Webcam
  • Reports a lot of data that would normally need to be manually entered into SnipeIT.
  • Pulls warranty information from Dell API. (Dell API Key required)
  • Automated Bios Configurations. (Dell Only)
  • Uses device Serial Number to pull existing SnipeIT Asset or create a new one if it does not exist.

Requirements:

  • SnipeIT Inventory System
  • Create Custom Fields in SnipeIT for each data point:
    • Mac Address, CPU, RAM, Operating System, IP Address, Bios, Last Reported, Graphics, Boot Drive, Internal Media, External Media, Licensed Software, Remote Desktop Users, Applied Updates, Network Adapters
    • You will need to get the SnipeIT custom field value for each of thsoe custom fields in order to fill out the fields in the config file.
  • In order to run the script, you have to include the parameter -ConfigFile with the location of the config file. Example: Powershell.exe -Command "\\path\to\ReportAssetDataToSnipeIT.ps1 -ConfigFile "\\path\to\selfReportConfig.json""

Recommendations:

  • Require all powershell scripts to be signed in your domain environment. Set through Group Policy.
  • Sign this script with an organization code signing certificate that is pushed to all domain assets via GPO.
  • Run as a scheduled task pushed to all domain assets with a GPO.
  • A minimum, set the scheduled task to trigger once per day.

This is a script I use in my environment to automatically update all domain assets daily to my SnipeIT Inventory System and manage certain aspects of the assets based on information the script finds in the inventory system.

This is written to work with Dell machines as I have a Dell exclusive environment. If your environment includes other manufacturers, you will lose the automated bios configurations and the automated warranty information features.

asset-self-reporting-tool-for-snipeit's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.