N-able RMM: Community Scripts - Page Six

Last Modified

Tue Jan 29 14:02 GMT 2019

Description

Disclaimer: Please note, if any items or other contains set forth herein is derived from N-able, any items or other content posted are provided as a suggestion or recommendation to you for your internal use. This is not part of the N-able software or services that you have purchased from N-able, and the information set forth herein may come from third party customers. Your organization should internally review and assess to what extent, if any, such custom items or recommendations will be incorporated into your environment. Any custom scripts obtained herein are provided to you "AS IS" without indemnification, support, or warranty of any kind, express or implied. You elect to utilize the custom scripts at your own risk, and you will be solely responsible for the incorporation of the same, if any.

Environment

  • N-able Remote Monitoring & Management (RMM)

Solution


Fix It Script List
 
DownloadProblem title: AD Script to assist with Audits 
Problem description: I need a script to alert me when a new user is created, changed, changed security group, or deleted in AD. Please assist. 
Fix description: editable variable $log_path = "c:\Temp\" $computer = gc env:computername The script create a file with the changes if are on the AD Example output : MachineName EventID AccountName Message ................................................. FILESE.tft.pub 4738 fsd A user account was changed.... FILESE.tft.pub 4720 TFT A user account was created.... Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM
DownloadProblem title: Start Menu Program Groups 
Problem description: Is there a script for returns list of all the Start menu program groups currently in use on a computer. 
Fix description: Script returns List of all the Start menu programs groups use on a computer . It Retrieves Groups Name and install dates . Script can be run via RMM . Test passed on Windows Workstation : XP , 7, 8 and Server : 2008
DownloadProblem title: Hyper-V Monitoring Scripts 
Problem description: Would be nice to have some script to monitoring Hyper-V (like VM status, dynamic memory allocation refused, dynamic memory status/max, etc.) 
Fix description: parameters: machine name and hostname of Hyper-V server, default is localhost and this can be edited <<$Hostname="localhost" >> Tested Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM
DownloadProblem title: Check HP Hardware using iLO port 
Problem description: It would be great if we could monitor hardware status using the iLO port available on all HP ProLiant servers. A script for Nagios able of doing so already exists. Check [here.][1] Thanks in advance [1]: http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/HP-(Compaq)/check_ilo2_health/details 
Fix description: Request: HP Lights-Out Configuration Utility softoware should be installed $cpqlocfgpath = "d:\ILOScripts" store folder of executable PQLOCFG.EXE $folderlogs = "d:\logs" - store folder for output Parameter: FQDN Not fully tested. We appreciate if someone give us feedback to improve it.
DownloadProblem title: Script to monitor Qnap NAS to USB backups? 
Problem description: We have some customers who backup their servers to a QNAP NAS device, and we then use the remote replication backup fuction to take a copy of that data to USB disk which can then be taken off site. Ther doesn't seem to be a way to have an email notification from the remote replication function, so we are having to manualy log in to the QNAP and check that it has worked each day which is a drag. It does show us the results on the QNAP system logs, but I was wondering if anyone can help with a way to have this monitored by RMM? Many Thanks Neil 
Fix description: $fileSource = Get-Item 'C:\projects\testing\file1.txt' -editable file path $fileDestination = Get-Item 'C:\projects\testing\file2.txt -editable file path Tested: Windows VISTA Windows 7 Windows 8 Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM
DownloadProblem title: Is there a way to display the IP address in a user friendly way? 
Problem description: I have an issue with some friends and family I try to help when I need their IP address but they don't know what they are looking at. Is there a way to send a script that they could run that will display this? 
Fix description: I have the same issue with people I help at work. If they have powershell installed (we install it at work) then this works like a champ.
DownloadProblem title: Script required to verify MSCONFIG is at default (normal Startup) 
Problem description: Hi is it possible for a script that can check if MSCONFIG is set to Normal startup? IE all entries enabled etc? to be run via RMM automated tasks Thanks James 
Fix description: Powershell script will verify MSCONFIG is at Normal Startup(by default) . Can be run via RMM Automated Tasks . Tested : Windows XP/7 and Windows Server 2008 .
DownloadProblem title: RMM RM Automated task: remove Google Chrome from a system 
Problem description: Need a RMM Script to uninstall Google Chrome from a users workstation. 
Fix description: Im not a master scripter but this is a super simple batch line that will get you far! Works perfectly on win 7 and forward (xp dont support wmic) Just run the command "wmic" and "product get" on a lab computer to get the correct products installed. I usually use this script to clean out old versions of java from systems and just added the chrome line ontop as an example. Best of luck! --Fredrik
DownloadProblem title: disable USB drive 
Problem description: Is there a script that disabled all USB drive on a computer? 
Fix description: Run this commands in Windows Powershel Run as Administrator command line for disable or enable USB drive on a computer.
DownloadProblem title: Report for Codec Files on a Computer 
Problem description: Need to script to return information about all the audio and video codec files installed on a computer 
Fix description: PowerShell script uses WMI to return information about all the audio and video codec files installed on a system.
DownloadProblem title: Report for Codec Files on a Computer 
Problem description: Need to script to return information about all the audio and video codec files installed on a computer 
Fix description: This version of script can be run through MAX RM . For get report about remote system's Codec Files: Need script's command line parameter : Computer Name Script tested on Windows 7 and XP Workstations .
DownloadProblem title: Change Windows Updates to Microsoft Updates 
Problem description: Is there a script out there to change Windows Updates over to Microsoft Updates. To get all Microsoft software updates. 
Fix description: No parameter This script can be run in RMM. Windows 2008 Windows 2008 R2 Windows 2012 Windows 8 Windows 7
DownloadProblem title: Need script: Send message to all WS alerting: reboot, you have been protected, we have done ..... 
Problem description: One of the nice features of K*** when I used it was it would alert the stations to remind to leave the computer on today, and then another message that says that your system has been.....worked on. made it look like I was doing all this work at night when the auto scripts would run. 
Fix description: Parameter : "your text". Will return succes message if the action completed and error message if the script wasn't executed Ex: .\sent_Alert.ps1 'reboot computer' Success Message Windows VISTA Windows 7 Windows 8 Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM
DownloadProblem title: I need some custom RMM scripts! 
Problem description: I am terrible at writing scripts and am looking for some one that can or already has. I would like a script, or scripts, to clean up a computer. Want to automate running the following programs: - "RKill" (http://www.bleepingcomputer.com/download/rkill/) - "TDSSKiller" (http://download.cnet.com/Kaspersky-TDSSKiller/3000-2239_4-12684178.html) - "Malwarebytes" (http://www.malwarebytes.org/) - "Superantispyware" (http://www.superantispyware.com/) - "Ccleaner" (http://www.piriform.com/ccleaner) - "StartUpLite" (http://www.malwarebytes.org/products/startuplite/). I can even provide a test machine if needed. You may contact me privately if you prefer. 
Fix description: This one works. I removed the msgbox line. It requires ccleaner to be installed on the computer.
DownloadProblem title: Automatically Add In A Second Set Of Teamviewer Credentials 
Problem description: Need the ability to automatically add in a second set of teamviewer credentials through RMM RM. 
Fix description: Here is a little script to add in a second set of credentials. Documentation is in the file itself. Run it as a Automated task through RMM.
DownloadProblem title: VMware ESXi disk health check 
Problem description: how do i go about setting up a script that checks the helt of the disks i this server is runnig Esxi 5.1 
Fix description: $vcserver="localhost" - server name or ip address $filelocation="D:\temp\healthcheck.text" and result of the query. The script will require credentials to authenticate on the esx. Requirement: VMware-PowerCLI-5.1.0 package from vmware.com Windows VISTA Windows 7 Windows 8 Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM
DownloadProblem title: Mac Address from a computer? 
Problem description: Is there any way to get the mac address from a computer that you may or may not be on? 
Fix description: This should do it. You just have to know the computer name.
DownloadProblem title: Display Latest Installed Service Pack Version 
Problem description: Need to script to display latest installed service pack major and minor versions an a computer . 
Fix description: PowerShell script will display Service Pack version or will notify if service pack has not been installed . Script uses WMI and Windows Forms . Tested Windows 8/7/XP Workstations .
DownloadProblem title: RSOP Extension Event Source/Link 
Problem description: Is there a script in RMM for giving information about client-side extensions' event log message sources and the extension's status ? 
Fix description: Powershell script represents the association between a client-side extension's event log message source and the extension's status. Script passed test: Windows XP, 7 and 8 workstations via RMM.
DownloadProblem title: Hacker Check Failed 
Problem description: Hi Everyone On a number of occassions we have had the hacker check failed and when our clients see this they always ask the username that is being tried. Therefore I would like to see if we can get at the information automatically so on the hacker check fail it would run a script to find out any relevant information ideally the username that is being tried and maybe an IP address it is coming from so we could possibly block at the firewall level. Any ideas ? Thanks 
Fix description: Search on the Windows Event logs and collect the information and store it on alert.log $log_path = "c:\Temp\" can be editable. The search is performed on the latest 24H. We are waiting other feature request. Windows VISTA Windows 7 Windows 8 Window 2008 Windows 2008 R2 Windows 2012 This script can be run in RMM **Error**: "Get-EventLog : Requested registry access is not allowed." OR "Script output not found" *The problem occurs because the user account that you used to log on does not have sufficient permissions.* Add the following permissions for a user/group on the DC (I used the built-in EventLog Readers group) to the following registry key (if the Security log is what you're interested in): HKLM\System\CurrentControlSet\Services\Eventlog\Security For mor details: *http://support.microsoft.com/kb/842795*
DownloadProblem title: Internet Explorer LAN Settings 
Problem description: Is there a script that will return network information (including proxy server information) for IE ? 
Fix description: This version of script can be run in RMM. It return some information about IE LAN Settings . Tested: Windows 8 Windows 7 Windows XP and Windows Server 2008 .
DownloadProblem title: Need a script to allow reporting of BitLocker Protections Status 
Problem description: Need a way to check BitLocker Protection Status for Hard Drives and allow reporting of any failures via script output and exit codes 
Fix description: Script to return BitLocker Protection Status for Hard Drives in real time . I used the GetProtectionStatus method from Win32_EncryptableVolume class . Test Passed on the Windows 7 / 8 Workstations . This Script can be run in RMM .
DownloadProblem title: Need a script to allow reporting of BitLocker Protections Status 
Problem description: Need a way to check BitLocker Protection Status for Hard Drives and allow reporting of any failures via script output and exit codes 
Fix description: I use this code for one of our clients. It has some additional logic to avoid reporting failures for machines that don't require BitLocker. The first assumption is that Desktop PC's do not require BitLocker protection. The script will pass using exit code 0 in the Dashboard and report if the PC is a Desktop. The second assumption is that all non Desktops should be running Windows 7 Enterprise edition. This is a fair assumption in a controlled business environment as only Enterprise and Ultimate editions of Windows 7 can use BitLocker and non desktop machines are portable and therefore likely candidates for encryption. The script will fail if a non desktop machine isn't running Enterprise or if a machine running Enterprise doesn't have a BitLocker protected C drive. It should be fairly straightforward to modify this script to work in other environments. It is used currently with RMM Script Checks.
DownloadProblem title: Create a Shadow Copy Storage 
Problem description: Need to script for creating a shadow copy storage area (for examp.): on drive D for storing shadow copies of drive C . 
Fix description: PowerShell script creates a shadow copy storage area on drive D for storing shadow copies of drive C . Script can be run via RMM . Test Passed on Workstations XP,7 and Server 2008.
DownloadProblem title: Set System Restore Configuration Values 
Problem description: Need to script for Setting System Restore Configuration Values :: Global , Life , Session Intervals . 
Fix description: PowerShell script to setting system restore configuration values. Test Passed on the Windows XP / 7 / 8 Workstations . This Script can be run in RMM .
DownloadProblem title: Microsoft Security Essentials Update & Scan script 
Problem description: Does anyone have a script that will work with Remote Management to run an update on Microsoft security essentials, then do a quick or full scan? This would be super helpful. 
Fix description: Powershell script to run Microsoft Security Essentials on silent mode for update and scan . Scan Type can choose user quick(input 1) or full (2). Note:: Full scan may be take more than 40 minutes . Test : Windows 7
DownloadProblem title: Microsoft Security Essentials Update & Scan script 
Problem description: Does anyone have a script that will work with Remote Management to run an update on Microsoft security essentials, then do a quick or full scan? This would be super helpful. 
Fix description: Script to run an update on Microsoft security essentials, if need , then do a Quick scan . This version can be run in Remote Management. Test Passed on the Windows 7 Workstation and Windows Server 2008 .
DownloadProblem title: Mac Address from a computer? 
Problem description: Is there any way to get the mac address from a computer that you may or may not be on? 
Fix description: Also here is one that puts it in a form
DownloadProblem title: List of System Restore Points 
Problem description: Is there a script for return list of all system restore points stored on a computer, and information about each of those restore points : including Sequence Number, Creation Time , Restore and Event Types and etc. ? 
Fix description: Script will return list of all system restore points stored on a computer and detailed information about each of those restore points . Script can be run through MAX RM . Test Passed on Windows 7 and 8 Workstations .
DownloadProblem title: List of System Restore Points 
Problem description: Is there a script for return list of all system restore points stored on a computer, and information about each of those restore points : including Sequence Number, Creation Time , Restore and Event Types and etc. ? 
Fix description: Script returns a list of all system restore points stored on a computer . This Version Special for Windows XP Workstations . Script can be run through MAX RM . Note! Time Out Parameter must be greater than 30

In addition to the Community Scripts, review the N-able Automation Cookbooks to leverage automation policies, custom monitoring, and scripts to gain more efficiency in your business.