The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
Google UNIX.COM


Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Changing windows server alias name on windows or unix? NycUnxer UNIX for Dummies Questions & Answers 1 03-26-2008 02:54 PM
New to scripting, Need help newbie22102 Shell Programming and Scripting 2 02-25-2008 08:08 AM
windows scripting for a batch job MizzGail Windows & DOS: Issues & Discussions 2 03-30-2007 03:42 PM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 05:12 AM
scripting guru's pls help me with scripting on AIX thatiprashant Shell Programming and Scripting 1 01-20-2006 04:58 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-30-2007
sunsysadm2003's Avatar
Registered User
 

Join Date: Oct 2007
Posts: 10
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
Reply With Quote
Forum Sponsor
  #2  
Old 10-30-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,653
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.
Reply With Quote
  #3  
Old 10-30-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by sunsysadm2003 View Post
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
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.
Reply With Quote
  #4  
Old 01-12-2008
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
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!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0