Custom RMM Scripts
Script: TPM (Trusted Platform Module) for Dell
Goal: This script will enable TPM (Trusted Platform Module) in bios using CCTK.exe in dell system
Script Type – PowerShell(.ps1)
Why TPM is crucial?
The TPM is a chip that is part of your computer’s motherboard. The TPM generates
encryption keys, keeping part of the key to itself. So, if you’re using BitLocker encryption or device encryption on a computer with the TPM, part of the key is stored in the TPM itself, rather than just on the disk. This means an attacker can’t just remove the drive from the computer and attempt to access its files elsewhere.
*************************************************************************** Script: Super Micro server raid monitoring
Goal: The script will list out the information of software raid using .dll file. The software is SuperDoctor5. For Example, Fan speed, Hard drive temperature, etc.
Script Type - PowerShell(.ps1)
Supports monitoring, control, and management functions.
Hardware Monitoring: fan speed, temperature, voltage, chassis intrusion, redundant power failure, power consumption, disk health, raid health, and memory health.
20 Types of system information: BIOS, Baseboard, Chassis, Computer System, Disk Drives, Memory, Network, Printer, Processor, System Slot, IPMI, Power Supply, Account, Operating System, Process, Service, Share, Time Zone, OEM Strings, and System Cfg Options.
The Purpose Of fetching aforementioned information through PowerShell Script?
The information was monitored using N-central Automation tool, creating service template, and it was applied on Super Micro Server in N-Central.
Script: Sign-out users 24hours
Goal: The script will logout users who are logged-in to the server for 24 or more. Script Type - ConnectWise Automate, PowerShell
The reason for applying this script?
By signing off the unnecessary users, it will lead to increase in server performance, and it could also improve security.
************************************************************************** Script: Crashed application count
Goal: The script will list out the crashed application’s count in 24 hours Script Type - ConnectWise Automate, PowerShell
The aim of doing this?
To know about the crashed software or applications. If the issue remains; it can be assigned to engineer to know why this is happening?
************************************************************************** Script: C drive clean-up
Goal: It will perform C drive clean-up, removing temp files, downloaded files, empty recycle bin, and delete the user profile, not logged in for 30 days.
Script Type - ConnectWise Automate, PowerShell
The reason behind running this script?
It will clean up the unnecessary data from C drive and make computer much faster in terms of performance.
************************************************************************** Script: Download and install software
Goal: The script downloads the .msi file from specific location (URL) and installs the software without any User interruption
Script Type - ConnectWise Automate, PowerShell
The aim of this script?
It will download and install the software without any prompt or providing any user inputs such as ok, enter, or install.
************************************************************************** Script: Download, install & Automate the login prompt
Goal: The script will download and install specific software from Internet and automates the login id, password prompt and click button for any software in Windows
The aim of this script?
It will download and install the software without any prompt or providing any user inputs such as ok, enter, or install. It will install the software, and automate the credentials such as log-in ID, Password, and LOGIN button
There are times that require every machine to enter the same login Id and password to manage their respective backups on Backup software. It saves the time and reduces the work efforts by scheduling the task.
************************************************************************** Script: Check software availability
Goal: The script will check if the software is present on system or not Script Type - ConnectWise Automate
************************************************************************** Script: Service stopped
Goal: It will notify if the service is running or not. If it is not running, it can start the service and if it doesn’t start, assign ticket to engineer.
Script Type - ConnectWise Automate
************************************************************************** Script: Wake-On-Lan Dell
Goal: This script will enable Wake-On-Lan in BIOS using CCTK.exe and also at the system level.
Script Type – PowerShell(.ps1)
************************************************************************** Script: System Protection Status
Goal: This script will notify the status of system protection on C drive Script Type – PowerShell(.ps1)
************************************************************************** Script: C Drive SSD
Goal: The Script will identify whether the C drive is an SSD or not. The reason of doing this is to find the systems that have SSD in an enormous infrastructure.
*************************************************************************** Script: Group policy modification
Goal: The script will notify modified group policies under 30 days with logs. Logs will be saved at specific location in txt format.
Script Type – PowerShell(.ps1)
The Purpose of Doing this?
Group policy allows for centralized management of user and computer settings in Active Directory (AD). GPOs are containers for group policy settings made up of files stored within a predicable network path \\<DOMAIN>\SYSVOL\<DOMAIN>\Policies\. Using script, it will be easier to keep an eye upon the changed group polices.
*************************************************************************** Script: Wake-On-Lan
Goal: This script will enable Wake-on-Lan and enables the magic packet on system level for ethernet adapter
Script Type – PowerShell(.ps1)
Why Turn on Wake-On-Lan?
Wake on LAN is a technology that allows a network professional to remotely power on a computer or to wake it up from sleep mode. By remotely triggering the computer to wake up and perform scheduled maintenance tasks, the technician does not have to physically visit each computer on the network.
*************************************************************************** Script: Signature Folder Rename
Goal: The script will rename the signature folder for all user except admin and public Script Type – PowerShell(.ps1)
The Purpose of doing this?
After renaming signatures file, it will no longer be available for storing signatures or receiving signatures in outlook. After this, if new signature is created or used, It will automatically make a Signatures folder at the given path.
You can find your Outlook Signatures saved in a folder, usually in the following path on your computer
C:\Users\YOURUSERNAME\AppData\Roaming\Microsoft\Signatures
*************************************************************************** Script: Removed profile count with logs
Goal: It is going to count deleted profile with logs of removed profile. The logs will be saved at specific location in txt format.
Script Type – PowerShell(.ps1)
The purpose of getting logs and removed profile count was to monitor the Removed profile Count for devices by creating service template, and logs will show which profiles were removed from system.
*************************************************************************** Script: Ftp Connection
Goal: This script will connect to the ftp server and fetch data from that server to local machine
Script Type – PowerShell(.ps1)
*************************************************************************** Script: Hardware Check-up
Goal: This script will notify the information regarding hard drive, e.g. Active, Instance Name, Predict Failure
Script Type - PowerShell(.ps1)
*************************************************************************** Script: Install software with .exe file
Goal: This script will download and run the .exe file and will provide the buttons (Send Keys) automatically. for example, Enter, Next, Yes, Ok, Install
Script Type – PowerShell(.ps1)
The purpose of doing this?
It is time efficient. This is because Technician doesn’t need to install particular software on every device physically. Task can be scheduled and will install the software on every device at same time.
*************************************************************************** Script: Delete particular files
Goal: This script will delete specific extension of file like .xml, .zip, and .exe and for specific folders it is going to be recursive (subfolders and files)
Script Type - PowerShell(.ps1)
Why it is required?
In some cases, there is requirement to delete certain data, which is not needed any more. In this case It will delete .xml, .zip, and .exe files from the applied location.