Goodbye Raymond James….. Hello Serve Enterprises :)

NOVEMBER WHAT!!!  WOW it has been a WHILE since  I posted to my poor neglected blog.  Scriptwarrior has been SUUUUUUUPPPPPER BUSY with all sorts of craziness.

Here’s a quick rundown on what’s been going on in my world in the last 6 months.  I moved to the 3rd shift on weekends at Raymond James in order to cover a vacancy that was left in our team.  I worked 3 – 13 hour days a week for about 8 months and it quickly got old.  I enjoyed the work I was doing, it’s just that the overnights and lack of social life started to take it’s toll.  I reluctantly gave my 2 weeks notice about 3 weeks ago and with a heavy heart, I left Raymond James.

I have accepted and started a new position with Serve Enterprises.  Serve is a great company and has a very interesting business model.  They specialize in Person 2 Person payments, which is an emerging industry that has a very bright future.   I am working as an Application Engineer on the Monitoring team.  The team is by their own admission, good at monitoring hardware but do not have as much experience monitoring software.  Since the business is at heart a Software as a Service this is becoming vitally important.  I am really looking forward to flexing my Powershell muscles and am excited about the future at Serve.com

Check out the www.serve.com main website for more information about what we do.

I promise to update more frequently…

-ScriptWarrior out 🙂

 

Tampa Windows Azure Boot Camp – WOOT

Jonathon Wurm from SumoSoftware and I attended the Azure Windows Boot Camp at USF in Tampa today.  I have to say, as usual, these community type events are incredible opportunities to get some free training from people that really know their stuff.  I have presented at IT Camp Saturday, which is a similar type of event with the caveat being that it was a bit more broad on topics.  So here is a previous speakers take on how this great Boot Camp was run.

The “Boot Camp” architecture of this event is great.  It’s very much like a lower level (100 to 200 level) deep dive and it’s wait for it……… FREE!  It consists of a single track of sessions that are varied on subject matter but all tied by the common theme.  Just so happens that today was Windows Azure.

The USF campus is a great location and they really stepped forward to make this a very pleasurable day.  The wifi access was adequate and simple to get connected, and the room was plenty big with great A/V setup.  The sound is typically the one wildcard in these types of events.  Often the presentations take place in a normal classroom and the speakers tend to have to speak very loudly to get through their presentation, believe me I speak from experience.  Here with over 60 attendees in the audience the A/V Microphone-Speaker setup seemed to make the Content Experts very comfortable as they deployed their presentations.  All in all a truly great venue.

It was also awesome to see my good friend and Microsoft  MVP Jason Milgram of Linxter in the house.  He was actually one of the major architects of this event.  Great Job Jason!

Links Section:

http://www.Linxter.com

http://www.SumoSoftware.com

TEC2011 – Powershell Deep Dive Europe – Post Mortem

There are so many things I could say about this trip. This has been a truly amazing experience.
I got the idea to make a return trip to Germany, about 2 months ago, off of a tweet by one of the Guru’s of Powershell. He tweeted that he just submitted his abstract for a Powershell Deep Dive. I checked to see where the deep dive was being held and suprisingly enough, it was in Germany. My mind started racing, what if I could make the trip. What would it be worth for me to get in a room with the deep dive
folks and geek out? Let me try to quantify this type of event for those not in the know.

I tried to explain the experience to someone the other day and here’s what I came up with.
Think of your favorite TV show of all time. One that you truly have a vested interest in. I mean it’s not your only “thing” but you are more than just a casual fan. Now imagine being able to walk on the set and participate in an episode of that show. Not only do you get to meet the actors and actresses that you
have been watching for years, but you actually get to act with them and participate in the creation of your favorite product. That is the essense of a deep dive. So you are not a TV person huh? How about walking into a practice for your favorite sports team and having on the uniform and being invited to join in with the greats of the game. Does that get your juices flowing? I mean how can you put a price on getting face to face with the Who’s Who of the game and being able to interact with them on a professional and person level.

The experience without a doubt was one I will never forget. Not to mention the time I was able to wrap around the conference. I was able to see friends I had not seen since 2004 and did tons
of very touristy things with them. We took a weekend and toured Berlin as well as a full day of Bremenhaven. Both places were awe inspiring for diffrent reasons. I have to say this trip was WELL WORTH the money I had to foot go on the vacation / conference. If you EVER have the opportunity to attend a Powershell Deep Dive, Do whatever it takes to get there. You will not be sorry you did.

–Script Warrior Out.

Friend Mining Contd…..

Yes I am still alive and well.  It has been a significantly crazy past few months.  Work has really ramped up due to staffing cuts and people jumping ship.  We finally have a few additions to the team, which has been a very welcome addition.  Thanks for your patience and let’s get back to that code that I promised about data mining FB!

Jon Newman’s FB Cmdlets sit at the core of this exercise. 

You can download the module from the following Codeplex link:  http://facebookpsmodule.codeplex.com/

In a previous post I explained how to Authenticate to FB through the module and that info can be found here: https://scriptwarrior.wordpress.com/2011/05/10/updating-facebook-from-powershell/

Once you have the FB Token in your session it is now time to start grabbing your pick axe and jack hammer.

Let’s start mining!

First let’s get a list of our friends…with the interestingly name cmdlet Get-FBFriends
PS C:\Windows\system32> Get-FBFriends
id name
-- ----
2012706 Sona Simova
3006152 Peter Seymour
5201880 Bryan Armalavage
5501594 Jorge Segarra
10237556 Ben Anderson

Now that we have our list we can pipe that list to Get-FBObjectData which will get us more information.
Then we can use the Select-Object cmdlet to get just the information that we want about our friends.

Let’s say for instance we want to find some info on all of our female friends.  Here goes 🙂

#List of Facebook friends that are ladies with their Name, Gender and Relationship_Status
$Ladies = Get-FBFriends | Get-FBObjectData | Select Name, Gender, Relationship_status | where Gender -eq female
#Now let's just group by the Relationship_Status and BOOYA! Friend Stats :)
$Ladies | Group Relationship_Status | Select Count, Name

Count Name
—– —-
21 In a relationship
115 Married
93 Unknown
30 Single
6 Engaged
2 Separated
3 Widowed
2 Divorced
1 It’s complicated

Facebook Friend Mining via Powershell

My poor blog has been screaming for an update, and I believe I have finally come to a clearing in the woods.  I have been lost for weeks in the forest of NT 4 and VMWare and just Friday saw a familiar rigdeline and headed for it full steam ahead.  Sure enough I was able to “dirty upgrade” NT 4 Server to Server 2003 and what do you know….. it worked!

So now back to the topic in the subject.  Jon Newman from MSFT has posted an update to the Powershell Facebook cmdlets found here (http://facebookpsmodule.codeplex.com/).  The previous version was broken due to some changes that FB made to their OpenAuth implementation.  The new version fixes the issue and the cmdlets are fully functional again.  I will put up a post in the next day or so about exporting and datamining your FB Friends list in excel.  This is a fun little activity I did over the weekend.  It’s cool so see the distribution of all your FB friends Birthdays etc. 

Until next time….. Scriptwarrior ….OUT!

 

Will Script for Food, Soda or FUN!

Recently I posted a sign outside my cube and it reads:

WILL SCRIPT FOR: FOOD, SODA or FUN

(payment in advance is not required but certainly appreciated.)

Well today I had my first customer.  My team member needed to check if the users installing software at our branch locations were installing some software incorrectly.  He was concerned that they were installing an application in the root of the APPS$ share rather than the appropriate subfolder.  The test I came up with was to use the Test-Path cmdlet to see if the application exe file existed in the root of the Apps$ folder.  I could have done this as a one liner but there was a bit of added difficutly.

The first subfolder in the path was a substring of the server name.  In addition for added bling, I could have done this via P$remoting for added speed, however I have recently found a BUG where Windows 2008 non R2 servers have remoting broken for some reason in our environment.  Still attempting to fix that.

Anywho here is the script:

$Servers = Get-Content C:\scripts\BranchServers.txt
foreach($server in $Servers)
{
      $subfolder = $Server.substring(0,$Server.length - 1)
      $Result = Test-path "`\`\$Server`\$subfolder`_Apps`$`\Hys`.exe"
      if($Result){$Server}
}

And now with remoting enabled:

Invoke-Command -ComputerName (Get-Content C:\scripts\BranchServers.ps1) -ScriptBlock
{
       $subfolder = $_.substring(0,$S_.length - 1)
       $Result = Test-path "`\`\$_`\$subfolder`_Apps`$`\Hys`.exe"
        if($Result){$_}
}

Have fun scripting 😮

–ScriptWarrior