Powershell Script and web query – Lenovo Think Model Name (ex. 20AMxxx) to Family (ex. X240)

13 02 2014

Tiny bit of background info about this Lenovo challenge:
Model is the long number reported to the OS (ex. 2324) and Family is the product / family / generation name (ex. X230) which really what I work with in my workplace, i needed to have a an easy way of querying Lenovo website to get the Family based on the Type / Model.


Read the rest of this entry »

Check Services, Ping, Specific port for a group of servers, configurable by CSV, new version with menu

30 07 2013
I updated the file and have added functionality:
– NEW: A menu pop and asks which farm to check (Sets of servers), automatically populates from farms in CSV, menu includes option to check all farms*, now it’s easier to keep one CSV file for all your farms / sets of servers.
*add a farm “All” and keep that line empty in csv.
– NEW: UNC check (with new CSV role “UNC”)
– NEW: DNS Check (very basic without overloading)
– NEW: Check services by name and IP
– NEW: The script has been made compatible to Powershell 2.0
– FIX: The script can be run from right click “run with powershell”

Check Services, Ping, Specific port for a group of servers, configurable by CSV and scalable and all with powershell

26 06 2013
Hi, there are some checks that are needed on a regular basis and doing them often requires me a tedious routine of remoting to each server just to view that a service is running, so I whipped up the following script to check the basic availability of a group of Servers, Where for each server the script can check services, telnet to specific ports and can be expanded to test additional items (by role for example),
I applied it to a XenApp environment and so I have the edgesight, Data Controllers, XML brokers, PVS provisioning servers, SQL, Web Interface, Appsense, NLB Virtual IPs etc., i didn’t need to test the actual XenApp worker servers, but i could just add lines to the CSV and have them tested.
And you could easily adjust it to a farm of web application servers just by editing the CSV file.
The script is configurable with a CSV file that holds parameters for the process.
Functions from: Jason Poyner
From his excellent script to check entire XenApp 6.5 architecture
http://techblog.deptive.co.nz/2012/05/xenapp-farm-health-report.html Read the rest of this entry »