Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Browsing all 9937 articles
Browse latest View live

Problem with VB script to return number of files older than X

I have the following script that I found that will check a directory for files that are older than 1 hour and return the number and file names. The script is working great but I need to add logic for...

View Article


How can I have PowerShell talk to SAM and CMDB

     I have a powershell script that talks to SAM at the backend, which then talks to CMDB. PS calls SAM.exe then "Unmanage" a CI from CMDB.      # Unamanage CI in CMDB      c:\SAM\SAM.exe /BATCH /h...

View Article


PowerShell script won't return results

I'm trying to get a count of files in a directory that are over 30 minutes old.  Unfortunately, when I test the script output I just sit and wait on an indefinitely spinning wheel--not even an error or...

View Article

Count of files matching a filename pattern.

We have a request from a server owner to monitor for the count of files matching a specific filename pattern, and to generate an alert when that count is exceeded. Currently that group is handling this...

View Article

Image may be NSFW.
Clik here to view.

IIS reset with powershell

Hi there, i'd like solarwinds to automatically reset iis on a server if that server CPU goes over 50%. The server is managed using WMI, and has powershell 2.0 installed, i have this script working...

View Article


Executing a VB script on a menu based switch

I had posted in a different thread that I was looking to script changes to a 3Com 4400 for syslog. As those switches are menu based, when 'executing script' the commands were not waiting for the menu...

View Article

File Monitor

Hello! I'm fairly new to scripting and was looking at setting up my first file monitor.  Basically we have a file that is put on a server every day.  If the file is not there by 12:30pm each day, we...

View Article

Alert and Acknowledgement Report

I'm trying to create a SQL Query that over a period of a month will give me the amount of alerts and the number of alerts that were acknowledged.  I would like also to break these numbers down into...

View Article


Powershell file size monitors

This is probably an easy one, I just admittedly don't know the first thing about PowerShell but I need to get some monitors built. I've got some commands that do something close to what I want but I...

View Article


Script to change ROOT password on Juniper Devices

Is there a script that can be loaded into NCM to change a ROOT password on Juniper devices? J4350 x4500

View Article

Image may be NSFW.
Clik here to view.

Scripting a file count

Hello all, I'm rather knew to scripting and found this script here on thwack. I have been able to run this script from my Orion server but not through solarwinds as part of a template and am hoping you...

View Article

Is there a way to get Network Configuration Manager to backup the...

dI've been looking through the NCM to find a way to backup the IOS license files on our 3750's in case of a flash failure, but I'm not seeing it.  Is there a way to do this, or is this going to fall...

View Article

Migrating perl scripts to NCM. . . . .

Hello everyone. We have recently purchased NCM and are working to migrate our "old" perl scripts into NCM. What do you think would be the best way to accomplish this?  Thanks,K

View Article


Simple Scripts Not Working

   Hi everyone! I have loaded up a test box and discovered it for NCM. I am now trying to run some test scripts to test things out but am having issues. I created a new script and copied all the info...

View Article

How can I avoid "Can't identify dynamic column definitions from script...

Hello,could some one please explain what is wrong with the following perl script from orion's prespective? I appreciate your help!!!!******************************************#!/usr/bin/perluse...

View Article


Config-Archive cleanup/purge

Does anyone have a script, perl, batch or anything, that will clean up the file/folder structure automatically? I am on 6.1 currently so not sure if this much asked for request made it to v7.

View Article

Lawson Has anyone setup Lawson to use Solar Winds for minitoring on AIX?

Please give me feedback on steps to confiigure or write scripts.

View Article


PowerShell script won't return results

I'm trying to get a count of files in a directory that are over 30 minutes old.  Unfortunately, when I test the script output I just sit and wait on an indefinitely spinning wheel--not even an error or...

View Article

Image may be NSFW.
Clik here to view.

Automated and dynamic application of SAM templates, specifically linux disk...

I asked this question in the SAM forum and was directed here by alterego as you guru's may be able to point me in the right direction. This question is Not Answered.   65pony Oct 29, 2014 9:51 AM    We...

View Article

Powershell file size monitors

This is probably an easy one, I just admittedly don't know the first thing about PowerShell but I need to get some monitors built. I've got some commands that do something close to what I want but I...

View Article
Browsing all 9937 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>