Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom Scripts are available for Windows Servers and Linux Servers.

Custom Scripts are also available for Avaya equipment types of ACM, ACR, AEP, AES, ASBC, ASM, and esuits by Englebart Software

Info
titleNOTE

Windows Servers added to VSM, prior to January 2021 will need to first update the Machine Proxy Agent running on them.   

Machine Proxy Agent Installation

...

The output from these scripts can be seen on the View Details page or Dashlet. 

Table of Contents
Configuring a Custom Script

To configure a custom script, navigate to your Equipment Locations > Manage Equipment Page , and Edit > Edit Equipment  (for a Windows or Linux Server.)

Under the Custom Scripts Tab, enter the PowerShell command details.

...

  • Retrieve random Internet Cat Facts every 24 hours (or 1440 minutes)
     Invoke-WebRequest -Uri 'https://catfact.ninja/fact' -UseBasicParsing | Select-Object -ExpandProperty 'Content' | ConvertFrom-Json

A maximum of five PowerShell commandlets may be added with minimum repeat Interval of 3 minutes.

Image RemovedImage Added


Viewing Custom Script Output

Commands Run pane

To view command output, click on View Details -> Custom Scripts, for that Windows Server.

Image Removed

navigate to Service Desk > Locations > Manage Equipment and select View Details, for the required equipment.

On the "Commands run" pane you will find your "Custom Scripts" output:

Image Added

Dashboards

Add a Windows Server Dashlet. or Linux Server Dashlet with "Show Custom Scripts" selected in the settings of the individual dashletsOr, open a Windows Server Dashlet.