Script-based custom fields

Samuel MONIER
Samuel MONIER Member, Cerified Business Partner Posts: 18 ✭✭
edited July 31 in Scripts

Hi all !!

So, now on SuperPower (MSP) or Enterprise (ITD) we are able to use scripts to upload informations into custom fields on agents.

I offer you my powershell script (not perfect, but very usefull) to check every monitors on a computer. It will upload informations like "Ecran 2 Samsung C27F390 - S/N: XXXXXXX - HDMI - Annee 2021"

(yes in French, I let you change Ecran/Screen and Annee/Year)

Just create that script by copy it, create the custom field, and in a couple of minutes you've created an automatic monitoring inventory… Isn't cool ??

The script :
https://pastebin.com/rWE8ZGV5

Tagged:

Comments

  • Samuel MONIER
    Samuel MONIER Member, Cerified Business Partner Posts: 18 ✭✭

    Example of return with two screens :

  • mbudke
    mbudke Member Posts: 131 ✭✭✭
    edited August 1

    How did you manage that your custom field is shown as multiline?

  • Samuel MONIER
    Samuel MONIER Member, Cerified Business Partner Posts: 18 ✭✭
    edited August 1

    It didn't 🙂

    My return is on a single line.

    In yellow the first screen, and in green the second :

    As the content is longer than the space available, it take more than a line.

  • Samuel MONIER
    Samuel MONIER Member, Cerified Business Partner Posts: 18 ✭✭

    So this morning we now have all monitors used by our customers. And we know how many for each computer, the year, the model, and how they are connected.
    In few time, we have more informations to be proactive, thanks to that feature.

    I hope you'll be happy to do the same 😉

    And if you need to upgrade to use that feature, or have specific needs, you can contact me.

  • gilgi
    gilgi Administrator, Moderator, Internal Posts: 284 admin

    This is brilliant! Well done @Samuel MONIER :)
    Nice to see how this feature is getting used and even nicer that you're sharing it with everyone!

  • AlexYoungNSM
    AlexYoungNSM Member Posts: 21 ✭✭

    That's great works perfect here :)

  • supporttechnique
    supporttechnique Member Posts: 1

    @Samuel MONIER

    Après notre récent échange vous invitant à explorer les discussions de la communauté et à chercher une solution pour un client qui migre de OCS à Atera et nécessite la remontée d'informations d'écrans, j'ai été agréablement surpris de découvrir l'un de vos scripts.

    Beau travail ;)

    Johnny

    FTPInformatique.

  • Samuel MONIER
    Samuel MONIER Member, Cerified Business Partner Posts: 18 ✭✭

    Bonjour Johnny 😊
    Ravi d'apprendre que mon script vous permet d'avoir une meilleure expérience avec ATERA.

    Au plaisir d'échanger à nouveau !