Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • The task name is not exactly ServiceNow. It's name conatins this pattern "ServiceNow". I want to find out full name of this task
    – beginner
    Commented Jul 3, 2018 at 6:33
  • 1
    @beginner I see. I'll edit the answer and add this option.
    – tukan
    Commented Jul 3, 2018 at 6:37
  • @beginner please don't forget to accept the answer when it answers your questions (upvote is nice to :) ) - stackoverflow.com/help/someone-answers
    – tukan
    Commented Jul 3, 2018 at 7:02
  • How to make this query for case-insensitive cases? Suppose the task name is "servicenow" and not "ServiceNow", then how can we check for any insensitive cases? It is giving error because of case-sensitivity
    – beginner
    Commented Jul 4, 2018 at 8:49
  • @beginner the powershell version is case insensitive (you actually have to add a switch to make it case sensitive). As for findstr you have to add /I to make it case-insenstivie (check findstr /? for all switches).
    – tukan
    Commented Jul 4, 2018 at 9:04