Tome's Land of IT

IT Notes from the Powertoe – Tome Tanasovski

About

Welcome to Tome’s Land of IT which is dedicated to all things that interest the Powertoe, Tome Tanasovski, in the world of IT.

Tome is a Windows engineer for a market-leading global financial services firm in New York City. He is the founder and leader of the New York City PowerShell User group, a blogger, and a regular contributor to Microsoft’s Windows PowerShell forum. In 2011 he became a cofounder of the NYC Techstravaganza, coauthored the Windows PowerShell Bible, and received the title of Honorary Scripting Guy from the Hey Scripting Guy! blog.  Tome has also received the MVP award from Microsoft for the last two years in Windows PowerShell.

Advertisements

5 responses to “About

  1. arnold March 22, 2011 at 9:12 am

    hello 🙂

    many thanks for you last help (regulare expression)
    to clean up my XML files!
    my best regard
    arnold
    France

  2. alfnso castro June 25, 2014 at 7:38 pm

    Nice site. In regard to your blog “Finding the thread (PID) that belongs to a tab in IE 8 with PowerShell”, have your implemented the script for IE 11? I use another PowerShell script successfully in IE 8 (Win Xp and Win 7), but the script does not work in IE 11 (Win 7).

    Thanks,

    • Tome January 17, 2015 at 10:57 am

      Chances are the regexes need to be touched. Also, the window has to be touchable by user32. Not sure what that means for metro apps. Something to look into, for sure.

  3. Chris Wells December 16, 2014 at 11:33 am

    When it comes to programming with objects in PowerShell, is it procedural like c or c++. From my understanding it has to be in a single file.

    If i have a class(A) that has to call another class(B), that class(B) has to come before class(A), not after class(A) right?

    • Tome January 17, 2015 at 10:43 am

      The classes can be in other files. You can dot(.) source these files. One technique you could use is to put all of your class files in a directory:
      /classes
      then in your code dot source everything in that folder.

      Regarding the procedural nature of it, yes. It is procedural. However, you can preload your classes as long as you are not instantiating the classes. You should load your classes first, then call the logic that uses them.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: