Find OS Type using VBScript (ready to use VBScript Function, right here)


If you looking to find a computer or server's OS type using VBScript, you can use my ready to use function as below. '///////////////////////////////////////' Function: FindOSType' Parameter: Computer Name' Purpose: This function return the OS name of the provided computer for all' Windows OS machines' ' Written by: Anand Venkatachalapathy (http://anandpv.spaces.live.com)'/////////////////////////////////////// Function FindOSType(ComputerName)    'Defining Variables    … Continue reading Find OS Type using VBScript (ready to use VBScript Function, right here)

CScript: Run VBScripts without showing Logo and saving the settings forever


A friend of mind asked how come I am not getting CScript logo text when I run scripts on my machine.  If you don't know what I am talking about, see the script results below (bold text) in command prompt. J:>cscript t.vbsMicrosoft (R) Windows Script Host Version 5.7Copyright (C) Microsoft Corporation. All rights reserved. Here … Continue reading CScript: Run VBScripts without showing Logo and saving the settings forever

Outlook: “Can’t move the items. Special folders, including the Inbox, Contacts, Calendar, Notes, Tasks, and Journal folders cannot be moved.”


I found one of my user's "Junk E-Mail" folder was moved under Journal folder. So he wasn't seeing Junk E-Mail folder in normal Outlook 2003 view. Well, if he clicks on Folder view and able to find the moved folder. When I tried to move the folder using Outlook 2003, I get this error message: … Continue reading Outlook: “Can’t move the items. Special folders, including the Inbox, Contacts, Calendar, Notes, Tasks, and Journal folders cannot be moved.”

Get members list from a Domain Group by VBScript


Another day in IT dungeon paradise. I received request to get a list of members from a domain group. How easy that is in Windows 2003 AD environment? It's not easy for sure.  Say let call the group name as "Corp_Finance". Some of you say, it's easy and you just don't know "NET GROUP CORP_Finance /DOMAIN" … Continue reading Get members list from a Domain Group by VBScript

User is not receiving mail sent to “Mail Enabled Security Groups”


Before I begin, I want to explain what is DL and "Mail Enabled Security Groups". "Mail Enabled Security Groups": This group can be used to enable permissions by group and also send emails to the members. Distribution List: This group used only to send email and that's it. Now to my issue. I received complaint … Continue reading User is not receiving mail sent to “Mail Enabled Security Groups”

VBscript: Pinger or Ping servers and alert Sys Admins


I needed simple monitoring tool to ping and send emails when hosts are down. I found few free tools, but I need to build my script so I can use variety of purposes.  Here you go, '*******************************************************************************'* Script Name: Pinger.vbs'* Arguments: ServerName'* '* This script tries to ping the specified server. If the server is … Continue reading VBscript: Pinger or Ping servers and alert Sys Admins