{"id":123,"date":"2007-05-04T17:51:35","date_gmt":"2007-05-05T01:51:35","guid":{"rendered":"http:\/\/testblog.sapien.com\/index.php\/2007\/05\/04\/i-need-your-text-based-admin-ideas\/"},"modified":"2007-05-04T17:51:35","modified_gmt":"2007-05-05T01:51:35","slug":"i-need-your-text-based-admin-ideas","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2007\/05\/04\/i-need-your-text-based-admin-ideas\/","title":{"rendered":"I Need Your Text-Based Admin Ideas!"},"content":{"rendered":"<p>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&#8217;m trying to come up with some examples of how PowerShell&#8217;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:<\/p>\n<p><a href=\"http:\/\/www.scriptinganswers.com\/forum\/forum_posts.asp?TID=734&#038;PID=4359#4359\">http:\/\/www.scriptinganswers.com\/forum\/forum_posts.asp?TID=734&amp;PID=4359#4359<\/a><\/p>\n<p>One example I have is a *nix administrator producing a list of running processes, grep&#8217;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&#8230; but I&#8217;d like some additional examples of when admins have to parse text files or string data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;m trying to come up with some examples of how PowerShell&#8217;s object-oriented design is more efficient for these tasks on Windows, but am coming up a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}