Windows Scripting


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Windows Scripting
# 1  
Old 10-30-2007
Windows Scripting

I have been involved with shell programming now for the last 5 or 6 years. I am directing my career towards IT Security and need to broaden my experience.
I would like suggestions for a good programming language for Windows. Is there a Windows scripting language that is considered secure ?
Has anyone tried out Powershell for Windows ? What should I not waste my time on ? I would like to be able to do such things like extracting event logs from various servers, workstations, etc., verifying security settings, etc.
All suggestions are gratefully accepted Smilie
sunsysadm2003
# 2  
Old 10-30-2007
VBscript has a reputation for being insecure, but I don't think it is fairly deserved, it is simply a powerful language. The problem was a variety of applications that allowed the outside world to run VBscript routines. Disabling VBscript was a bandaid for other problems. If you let anyone on Earth run any Perl or Ksh scripts they want, then those languages would be just as "insecure". That said, Microsoft is moving away from VBscript so I would not now recommend learning it.

.bat files have been around forever and will probably never go away. It is an odd language, but it is more powerful than most folks realize. If you don't know .bat files, you might start there. Powershell is Microsoft's latest experiment. It might last or they may drop it as fast as VBscript. Powershell has been made available for XP so I have been thinking of downloading it and giving it a try. But so far, I have no experience with it.
# 3  
Old 10-30-2007
Quote:
Originally Posted by sunsysadm2003
I would like to be able to do such things like extracting event logs from various servers, workstations, etc., verifying security settings, etc.
All suggestions are gratefully accepted Smilie
I would suggest "Visual Basic for Applications", but even this will be replaced by "Visual Studio Tools for Applications".

Previously I've written a simple eventlog tool in C using the WIN32 APIs OpenEventLog/ BackupEventLog/ ClearEventLog, these will work remotely.
# 4  
Old 01-12-2008
i tend to use .bat since it is normally installed in whatever wintel box comes in ... i have created .bat scripts that worked just fine extracting lines from logs and checking system settings using only native windows commands ... i have also used .bat scripts with ported unix binaries (i.e., awk.exe, sed.exe, etc.) which made the scripts work much better ... you should be able to google for those ported binaries without any issues ...

good luck!
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

C Shell Scripting on SUA windows 7

hi, Even $eType is BSD_8GB echo $eType switch ( $eType ) case BSD_8GB: case BSD_12GB: echo "excuted BSD_8GB & BSD_12GB" breaksw default: echo "default" exit 0 endsw Result always default case printing. Please help.... (5 Replies)
Discussion started by: gthangav
5 Replies

2. Windows & DOS: Issues & Discussions

Need Help in Windows scripting

Dear Expert, Below code is for to take the backup of database by daily time stamp. I need vital help to make my script automatic sending me email if it sucess or fail. Code: echo on @REM Seamonkey’s quick date batch (MMDDYYYY format) @REM Setups %date variable @REM First parses... (0 Replies)
Discussion started by: Alone
0 Replies

3. Shell Programming and Scripting

Shell scripting on Windows platform

Is there a free unix platform that will allow me to write a shell script on my Windows OS? I have my files on my C: drive and i need to write a script that reads from those files and does some manipulation. Its pretty straightforward in unix commands hence i don't want to write a Java/C++ program... (3 Replies)
Discussion started by: jakSun8
3 Replies

4. UNIX for Dummies Questions & Answers

Need help configuring Active Perl on Windows Vista.: Perl Scripting on Windows

Hi All, Need help configuring Active Perl on Windows Vista. I am trying to install Active Perl on Windows Vista. The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006 After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Discussion started by: Vabiosis
2 Replies

5. Windows & DOS: Issues & Discussions

windows scripting for a batch job

I have been doing unix scripting for quite awhile and there seems to be a wealth of information on it. Now I am working on migrating an intel based application to a new server. I need to modify some existing scripts, but am having trouble finding information on windows scripting, a forum similar... (2 Replies)
Discussion started by: MizzGail
2 Replies
Login or Register to Ask a Question