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 01:54 PM
New to scripting, Need help newbie22102 Shell Programming and Scripting 2 02-25-2008 07: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 03:58 PM

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

Join Date: Oct 2007
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 10-30-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,253
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 10-30-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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 (permalink)  
Old 01-12-2008
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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 UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 03:01 AM.


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

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101