I need some help coming up with examples of when *nix or Windows admins have to parse text files or other string data, in order to accomplish administrative tasks. I’m trying to come up with some examples of how PowerShell’s object-oriented design is more efficient for these tasks on Windows, but am coming up a bit dry on practical examples. If you have any, please post in the ScriptingAnswers.com forums:
http://www.scriptinganswers.com/forum/forum_posts.asp?TID=734&PID=4359#4359
One example I have is a *nix administrator producing a list of running processes, grep’ing that list to find a particular process or processes, and then killing it/them. MUCH easier in PowerShell since you get objects to work with… but I’d like some additional examples of when admins have to parse text files or string data.