Finding the UserID from a PowerShell Remoting session

A colleague presented a challenge to me the other day which I thought was “do able” but I’d never thought about it before. “A set of user Credentials are in use in an Implicit Remoting Session, the authentication has been performed interactively by a web site…. We won’t know who the user is but the…

0

The parsing mystery of my HERE-STRING

I was helping a friend re-write a script to make it visually more appealing.   For some scenarios I LOVE using Here-Strings. If you’ve never encountered one a Here-String looks like this $Somedata=@’ Here is something I am writing This is what it will look like at the end Isn’t this cool? ‘@ And literally…

0

Using PowerShell to Easily Build LBFO teams

Here’s an interesting challenge.  It’s not actually DIFFICULT but it is OH so IRRITATING on any operating system. I want to Team up some network cards for Load Balancing.     So I pick two at the back of the server,  try to figure out which two it is that lit up, then remember those…

0

Hey! What happened to my DHCP Server?

Like many IT Professionals and enthusiasts, I have a lab.  Mind happens to sit on my laptop and various components will be spun up / down / torn apart as I need. One I happened to keep together was my Domain Controller.    Sure they’re not difficult to spin up and bring online with Windows…

0

PowerShell – Easily get Error Codes for Try Catch Finally

I was poking about with the whole Try Catch Finally segment in PowerShell.  Beautiful little scriptblock.   The stumbling block I kept hitting was getting the Error Code names.    How to get the default Exception has been documented online in various places.  However what I encountered was some Errors didn’t match up with the examples…

0

Script Wars : The Farce Awakens – the Complete series

On “Hey! Scripting Guy!” you may have heard of the Holiday Specials.  This year was no different and the 5th episode just wrapped up today.   To save you hunting around for Hyperlinks and just for fun, here’s all five (5) links the series from this year’s offering. Script Wars : the Farce Awakens Script…

0

7 Years of “Hey! Scripting Guy!” Holiday specials!

So for those of you who may not have realized it, 7 years ago on “Hey! Scripting Guy!” a little idea started out which was to have a fun PowerShell based Holiday special. If you’re curious here are all 7 in Reverse order including the badly written and horribly sung Parody theme tunes. Happy Holidays…

0

Start-Post “Hello World!”

This feels both strange and wonderful at the same time.  My first official Blog post within Microsoft. If you’ve been wondering, I disappeared from the Blog scene for a bit.   Things got interesting and busy over the past Ten (10) months.   Now it’s starting to settle and I have time to breathe and…

0