Tag Archives: PowerShell Summit North America 2015

Create a Function to Open Internet Explorer (Like in Run)

Even before Windows PowerShell, I strove to do things quickly. One such thing was to open Internet Explorer (IE) from the Run dialog. In the image below, you can see how you can enter iexplore followed by a space and then a URL. When you press OK, it will launch IE and direct itself to the URL that was passed along. If no URL is provided, it will open the home page.

Create Function to Open Internet Explorer (Like in Run)01

When I transferred this knowledge to PowerShell, I was sad to see that entering the same thing in the console host resulted in an error: “The term ‘iexplore’ is not recognized as the name of a cmdlet, function, script file, or operable program.”  I wasn’t overly concerned about it, moved on, and mostly forgot about it.

After spending last week at the PowerShell Summit North America 2015, I saw several demos from speakers that included ‘start iexplore <URL>,’ where start is an alias for Start-Process. Use Get-Alias to see this yourself: Get-Alias -Name start. I decided I would write up a simple function, to add to my profile, that would allow me to just use iexplore again.

With the function below, in place, I can enter iexplore in PowerShell to open Internet Explorer to the home page, or iexplore bing.com to open Internet Explorer to bing.com, for example — pretty straightforward. Here it is: the little function that saves me six keystrokes every time I use it. Don’t worry, it won’t be long before I make up for the lost keystrokes from writing the function itself.

Function iexplore {
	Param ([string]$Url)

	If ($Url) {
		start iexplore $Url
	} Else {
		start iexplore
	}
}

And, here’s the results.

Create Function to Open Internet Explorer (Like in Run)02

Before we close for the day, we should probably makes a couple changes to our function. We should change the function name so it uses an approved verb, along with the verb-noun naming convention, and then create an alias (iexplore), to call the function.

Set-Alias -Name iexplore -Value Open-InternetExplorer

Function Open-InternetExplorer {
	Param ([string]$Url)

	If ($Url) {
		start iexplore $Url
	} Else {
		start iexplore
	}
}

Extra – PowerShell Summit North America 2015 [#8]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

I couldn’t believe it when it arrived: the final day of the PowerShell Summit North America 2015. Fifty some days ago and I wasn’t sure the summit would ever get here, and now, it’s over.

My final day consisted of another ride over to the Microsoft campus, another second breakfast — seriously, I ate two each morning — and several more PowerShell sessions. The standout sessions for me on the last day were Jason Helmick‘s The Top DSC Gotchas and Best Practices, and June Blender‘s PowerShell Help Deep Dive. These two speakers are two of the best when it comes to capturing the audience’s attention. Jason could keep me awake regardless of topic, and June could sell me anything. They are both great presenters, and so you should get to watching both of their sessions now. Now, as in relation to when you finish reading this post.

As I sat and listened to June speak, I kept thinking the same thing, and no, it’s not that her voice reminds me of my CPA — something I told her earlier in the week when waiting outside an elevator. Oh, by the way, I should probably put my apology out there for her now. Microsoft had these mints on the front desk, as you enter the building. I popped one in my mouth as I made my way to the elevator — bad idea. As much as I’d like to forget it didn’t happen during our conversation, a small piece of my breath mint decidely left my mouth and took flight near June’s direction. Thanks for pretending that didn’t happen, June!

What I kept thinking was that June should have spoken way sooner than day three. In future summits, she needs to do a welcome or keynote presentation, alongside, or before, or after Don. She pulls you in, and I think we all might have benefited from her speaking sooner, and to everyone.

So, as you might be aware, I had been looking forward to day three for awhile, because it was time to take the Verified Effective exam. During lunch on the second day, Don spoke to everyone that was going to take the exam and gave us some information we were going to need to know. One of the things I remembered most, was that the average time to complete the exam was 37 minutes.

Sometime on Wednesday morning, I took a look at my return flight home. The time had been changed to two hours earlier than I had planned. I called the airline and the change was made back in January. I can take some of the blame here, but for whatever reason the notification sent to Expedia, was never sent to me. That doesn’t mean it was Expedia’s fault, but suddenly I had to scramble — a little extra stress with my test. The airline couldn’t help me, nor could the hotel for a ride. If I wanted a ride from the hotel I would have to skip my exam. Ah! I asked the person at the hotel about a taxi and he had a private company, that was able to guarantee the pick up time, give me a call (“I have a guy.”). I gave them my info, got a call back, and arranged my car for 3:45 p.m. — the test started at 3 p.m. (ish).

The test wasn’t hard. In fact, I know I would have completed, if I had been given more time. I left at 3:45 p.m. (and turned in what I had completed, since Jason mentioned doing that) and headed to the airport. Originally, I wasn’t going to bother turning in anything. When I stood up at 3:45 p.m., I was only the second person to do so since the exam began. The first person had been sitting next to me and left a few minutes into the beginning of the exam. No one in a room full of 40+ people was done at 3:45 p.m. Someone did come up as I was standing at the front of the exam room and having Jason copy over my exam. I’m not sure how people felt about the exam and the amount of time to complete it, but I would definitely be interested to know. It seems like nearly all of us could have use a bit longer, unless of course everyone finished after I left, but before 4 p.m.

The summit was over. I was seated in the back of my SUV transportation and headed to the airport. I was disappointed about my test, and I was still stressed — I had to get my boarding pass, drop off and pay for my luggage, get through security, and find my gate all before it was my departure time. I didn’t have as much time as I wanted, but luckily I had enough time to make it.

In the end, I would absolutely recommend you join us next year. Hopefully, I’ll be able to do that too, because this was an opportunity like no other I’ve yet to have in my career. My prediction was correct. I look forward to continue to script in PowerShell, to continue to explore DSC, to continue to answer questions on PowerShell forums, and to continue to create tools for the community, and my employer. It’s a special bunch of people, and I’m glad I got involved. PowerShell is rewarding, and one of the best things I’ve done, and will continue to do, for my career.

It was great meeting and talking to everyone! I look forward to doing it again.

Extra – PowerShell Summit North America 2015 [#7]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

When the second day was done and over, I simply didn’t have the energy to do much more than get a shower and watch 30 Rock on Netflix. Yes, 30 Rock — I still have a couple seasons to go. But, just because I didn’t write, didn’t mean I didn’t have another rewarding day. On day two, I attended sessions such as as Dave Wyatt‘s, Keeping Secrets… session, and the combo, two-part session by Jeffery Hicks and Lee Holmes. Each of those were great. Not only do they explain the how in everything, but they explain the why — I think that’s an important distinction, and a requirement for working with Windows PowerShell at the 400-level.

I also got to hear Jim Christopher explain SeeShell and Mike F. Robbins discuss PowerShellGet. They both had a well-thought-out flow to their topics. I recommend these two, without question. I’m looking forward to that future moment when I suddenly remember SeeShell while working on that future project. As well, I can’t wait for WMF 5 to be out of preview, and be ready for down level versions of Windows. PowerShellGet, and especially the PowerShell Package Manager — previously OneGet — are going to make a huge impact on desktop administrators — mark my words.

The final two sessions of the day were quite legendary. First, we heard Don Jones discuss what he knows about — and his predictions for — Nano Server. This was followed up by a QA session with Jeffrey Snover. Yes, that’s as cool as it sounds — especially on a stage this small.

Speaking of Jeffrey Snover, I didn’t get to sit with him again during lunch, but our table did have a second best guest. Don Jones decided to sit with us since “all the spots were taken at the cool kids’ table.” Of course, he was kidding — that’s at least what I’m telling myself. During the conversations with Don, he explained some of the differences between using the Microsoft Campus for the summit and what they had done in the previous year. He indicated that next year’s summit will be back in Washington, and as of now, is tentatively scheduled for the 4th, 5th, and 6th of April, although those dates were actually mentioned on day one. I’m hoping to be there next year, and look forward to venue where everything is in walking distance.

Consider how amazing this event is for a moment: In two days’ time, I sat and ate lunch with Jeffery Snover and Don Jones. The likelihood of that at a big conference is next to zero. Besides all the great PowerShell content, there’s this possibility to actually have conversations with some of the community’s most talented and influential members.

You can watch most, if not all, of the sessions here — seriously, do it, it’s worthy of your time. I’ve been somewhat vague about the session content because my intention is more in line with convincing you to attend — to work on your PowerShell knowledge and skills daily, to be a member of the PowerShell community, and to come out and meet the rest of us. I think I heard Jeffrey Snover say it twice now: it’s his favorite conference. If you’re not going to take my advice, fine, but you’ve got to take his. He’s the inventor of PowerShell; he’s the one that’s been telling us to learn PowerShell — that we’re going to need it (think: Nano Server). We’re System Administrators learning DevOps skills; we’re developers that are thinking operations. We’re blurring the lines, and moving to the front of the line.

One of the most memorial parts of the second day was the evening out. While I could have packed up and easily sat in my hotel room for the evening — I mean, I am a geek; I have a computer — I instead took the offer from Stephen Owen to head out for dinner with a handful of other enthusiasts. Best decision of the summit. I had a great time! I sat at a table at some hip and trendy joint with Warren F, JC, Paul, and Josh Atwell, and had one of the most entertaining conversations, with fellow IT people, in a long time. Never mind that we didn’t talk that much shop, but we laughed our asses off. Josh has to be one of the funniest people I’ve met. If you’re at the summit, do your best to get a seat next to him outside the conference. I also gathered he’s a smart guy, and an author — you go, Josh. Here’s the thing with this conference: everyone is smart. This was an elite group of people. Don’t let that scare you off though — I was there, too.

Extra – PowerShell Summit North America 2015 [#6]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

Today was the first day of my first PowerShell Summit. What, an amazing opportunity. We’ll get to today, but a bit about last night first.

It started when I arrived at the Ri Ra, a downtown Irish pub and grub. I had a ride with Dave Wyatt, who, as I learned sometime between 4 and 5 p.m. today, has code from his Pester project shipping with Windows — well damn, that’s quite the accomplishment, Dave.

We spent a hour or so at the pub where I was able to chat with Jeffery Hicks, Richard Siddway, Teresa Wilson, and several others. At that point in time, many of these people seemed like celebrities. They still do; however, I’ve come to realize that this summit is designed to break down what might separate speakers from attendees, at a large conference. I’ve shaken hands with Mark Minasi and had a book signed by Mark Russin — hold on while I go figured out how to spell his name — ovich, but this was different kind of experience. The same Jason Helmick I watched on the DSC videos earlier that day, was standing over by the bar. I’ve yet to meet him personally, as well as plenty of others, but still, none of this felt real until today — like mid morning.

Dave and I left Ri Ra after a quick decision to find a place to eat — perhaps one of the BBQ joints we saw on our walk from the garage, where he parked. Sure, it’s only a couple blocks over… through. a. downpour (there had been tornado warnings). The umbrella and sweatshirt I considered bringing, were in my hotel room, dry and unused and probably grateful. When we arrived at the restaurant, I couldn’t see, as my glasses were drenched on both sides of the glass, and my clothes were drenched, too.

After an incredible meal at Queen City Q — something that was required to help keep me from thinking about having dinner with someone I just recently met while wearing clothes that felt as though they just came out of the washing machine — we headed out. Although the GPS in his rental car repeatedly lied to us, we finally made it out of downtown Charlotte. It required that we travel north, to go south. I’m glad to see he made it to the summit today, because I had my doubts about that thing.

So, today. It started off with (my second) breakfast and an opening welcome by Don Jones. Following that, I ended up attending the sessions I planned to originally. This meant I listened to Jason Helmick discuss PowerShell Web Access, permissions, and IIS application pools, all in relation to DSC and DSC resources. I’ve yet to create my own DSC Resources, but I’m looking forward to the opportunity. Jeffrey Snover said something later in the day about the impact of the community; he might be on to something.

I followed up Jason’s session learning about Pester, monitoring, DSC and AD, and then oData. As well, I enjoyed listening to Jeffery Hicks discuss constrained endpoints. Ever since my SharePoint constrained endpoint project, I’ve come to really enjoy the capabilities they provide. I’m looking forward to transferring that knowledge to JEA: limiting cmdlet parameters without a proxy function, sounds good to me.

Jeffrey Snover closed out the sessions in the early evening with his State of PowerShell discussion. It’s always great hearing Jeffrey speak, whether it’s at a TechED, an online video, or a lunch. That’s right, he also spoke at lunch — but not with everyone.

I was sitting amongst a group of other PowerShell enthusiasts. It was a full table, outside the empty chair that was at my right. Next thing I know, Mr. Snover sits down next to me. For 45 minutes to hour he told us stories, introduced us to topics he’d cover in his closing session, and answered questions from anyone at the table that spoke up. It was amazing, as was his ability to eat and chat so well — as if he’s perfected doing these at the same time. When we were rounded up to move to the after lunch activities, he asked where I worked and we briefly discussed Tucson, Arizona — my home town, a place he’s visited. It was a honor to be a part of the discussions that took place at that table. It was something I won’t soon forget, and something I didn’t see coming. Either was being able to guess the number of stickers on Ashley McGlone‘s laptop (25) — something that scored me a sticker.

To round out the evening, I chatted with Adam Bertram. It was an exceptional day and I’m so fortunate that I was a part of the community today, in person. I’m looking forward to tomorrow — round two.

Extra – PowerShell Summit North America 2015 [#5]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

I said I’d write, and here I am. I’m on my first leg of my travel to Charlotte, North Carolina which will put me in Atlanta for an hour or so — just enough time to upload this post and eat something. I hope.

Prior to boarding I noticed that the #PSHSummit Twitter hashtag is already seeing an increased amount of usage, as many people begin their travels to the PowerShell Summit North America 2015. I can’t believe it’s already here. I’m on a full Delta flight coming out of Tucson at 6:10 a.m. That required a 4:00 a.m. start time — something I’ll end paying for at some point today.

The plan, after briefly listening to some music, is to fire up module 6 of the Getting Started with DSC JumpStart videos: I’ve got make the most of this time…

… time passes …

…Roughly an hour has past since I started that module. Like all of them so far, that module was beneficial. It helped solidify parameterizing configuration scripts, using configurations data and using credentials. I hadn’t heard of the DevOps reference, mentioned by Jeffrey Snover, before, but I like it. This was the one that indicated to treat your servers like cattle… without an emotional tie. I can do that.

I’m about a half hour outside of Atlanta and our smooth ride is about to get bumpy. Time to pack up, and return to some music to assist in drowning out the engines and squeaky luggage above me…

… time passes …

…Well, I made it to Atlanta despite the rain and bumpy ride. I’ve eaten, caught up on Twitter, and now to find my gate. The long part of my trip is over with a flight about as long as the last module in the first DSC JumpStart from Microsoft Virtual Academy.

Extra – PowerShell Summit North America 2015 [#4]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

And, so it begins: packing. Today is the day I have to collect everything I think I’ll need for my trip to Charlotte. It’s not that I’ll forget something, it’s what will it be this trip: clothes, cords, cables and countless other things all need to fly along with me, from Arizona to North Carolina.

I noticed that today on Twitter, people have started to use the Twitter #PSHSummit hashtag a bit more. I think that’s a great idea. It’ll allow everyone the ability to share what they’re doing, as we all embark on this journey and experience. As well, it’ll serve as a meeting place for hearing about topics and speakers as the event is underway.

I’ve lined up my ride a bit more securely from my hotel to the meet-n-greet Sunday evening. Dave Wyatt, a PowerShell MVP and speaker at the summit, is going to let me catch a ride with him. Dave and I have yet to meet in person, and yet we’re riding together. I think this emphasizes what this event is all about. It’s not some huge conference, it’s about community, and knowledge sharing. It’s an event where a person like me — who’s an intermediate in PowerShell on a good day — can have a speaker’s ear for 15 minutes as we drive downtown. The fact that there’s an intentionally low number of attendees increases the learning possibilities, and will ensure all the questions we have, as participants, can be asked and answered. Like I wrote once before: This has the potential to be the highlight of my career so far. I can’t wait to find out.

Now, to start packing. See everyone soon.

Oh, and by the way, Jeffery Hicks followed me on Twitter today. It’s a crazy world.

Extra – PowerShell Summit North America 2015 [#3]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

Well, I did it; I figured out what sessions I want to attend at next week’s PowerShell Summit North America 2015. It wasn’t easy, and I had to con-tin-u-al-ly remind myself that the sessions are being recorded, and that I’ll have an option to watch the ones I missed at a later time.

The sessions I selected are going to offer me the ability to hear various PowerShell big names speak. I’m mean seriously, when this event is over, I’ll be able to say that I’ve heard Don Jones and Jeffrey Snover speak (again), Mike Robbins (who recently followed me on Twitter — what!?), Dave Wyatt, Jeffery Hicks, Lee Holmes, Richard Siddaway and June Blender — the list goes on. That’s an accomplishment for me, and I’m not even doing anything but sitting and listening. It’s hardly any work on my part, but I’ll do it.

Here’s a screen capture of the sessions I plan to attend. While the speaker is important, the content is as well. We’re just days away, now, so I’ll be back to write more soon.

MyAgendaReduced85

Extra – PowerShell Summit North America 2015 [#2]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

I cannot believe how quickly April has come. The last, and first, time I decided to write about the upcoming PowerShell Summit North America 2015, it was 55 days away. Today, it’s only 9 days away — well, that’s exciting! I took a command from my previous post about this topic and wrapped it in a function. While I may never use it again, here it is: proof that this event is ridiculously close — as if you needed a function to tell you this.

Function Get-TMDaysUntilPSSummit2015 {
    [CmdletBinding()]
    Param ()

    Begin {
    } # End Begin.

    Process {
        Write-Output -Verbose "$((New-TimeSpan -Start (Get-Date) -End 4/20/2015).Days) Days"
    } # End Process.
} # End Function

Get-TMDaysUntilPSSummit2015
9 Days

As of recent, we now have a downtown venue for the meet-and-greet Sunday night. While all the details haven’t been worked out, I supposedly have a ride there with a PowerShell MVP — how cool is that? The sessions have been updated, too. I’m suddenly second guessing all the sessions I should attend.

The Scripting Wife has been adding to the excitement with a recent series of posts about the summit’s speakers, which I’ve linked below. I’ve read all of these, and they’re great. While I haven’t spoken to anyone but Don Jones and The Scripting Guy and Wife in person (and I doubt they remember that anyway), I am quite aware of the big names in PowerShell. I read their blogs and articles; I read their posts on forums and social media. There’s going to be a ridiculous amount of PowerShell talent at this event.

Meet the PowerShell Summit 2015 Speakers #1
Meet the PowerShell Summit 2015 Speakers #2
Meet the PowerShell Summit 2015 Speakers #3
Meet the PowerShell summit 2015 Speakers #4
Meet the PowerShell summit 2015 Speakers #5

While I’m short on things to say today, I will reiterate that I’m so excited to get this summit underway. On that note, I should mention that I am very grateful to my employer for this opportunity, and for my family, to help keeps things in order while I’m gone. Of course, my wife pretty much owns that anyway.

Back to my employer: I want to note that I’m grateful working in an environment where my desire to know and implement PowerShell is supported. I’m pleased that they understand the importance of PowerShell and automation, and that having me attend this summit is seen as beneficial.

Extra – PowerShell Summit North America 2015

This series of posts was linked from PowerShell.org: https://powershell.org/2015/05/16/whats-it-like-at-powershell-summit/.

I decided in late February that I would document my trip and experience at the PowerShell Summit North America 2015 (that happens in April). This page is going to serve as the landing page for this project. I’ll link each of the new posts right from this post, so they can easily be read in chronological order (beginning at the bottom link), providing someone wants to do that, or reads any of this anyway. I truly believe this is going to be an incredible opportunity, and so I want to document my experience, and make it available to the PowerShell community, current and future. Thanks, and enjoy.

PowerShell Summit North America 2015 [#8]: Day Three
April 22, 2015

PowerShell Summit North America 2015 [#7]: Day Two
April 21, 2015

PowerShell Summit North America 2015 [#6]: Day One
April 20, 2015

PowerShell Summit North America 2015 [#5]: In Flight
April 19, 2015

PowerShell Summit North America 2015 [#4]: Closest
April 18, 2015

PowerShell Summit North America 2015 [#3]: Closer
April 13, 2015

PowerShell Summit North America 2015 [#2]: Close
April 10, 2015

PowerShell Summit North America 2015 [#1]: It’s So Far Away
February 22, 2015

Extra – PowerShell Summit North America 2015 [#1]

Read them all here: http://tommymaynard.com/extra-powershell-summit-north-america-2015-0-2015/

I decided I am going to write about my experience at my first PowerShell Summit—from beginning to end. The word ‘beginning’ is being used a bit loosely, as the PowerShell North America 2015 Summit is still 55 days away (see how I figured that out below). Regardless, I continue to find myself looking forward to this opportunity as it has every potential to be the highlight of my IT career, and so I’m going to post about it.

PS C:\> (New-TimeSpan -Start (Get-Date) -End 4/20/2015).Days
55
PS C:\> "$((New-TimeSpan -Start (Get-Date) -End 4/20/2015).Days) Days"
55 Days

Although, I’ve been registered for the summit for a few months now, and had my plane tickets for nearly as long, I just secured my hotel room. There was a bit of an internal debate with myself about where to stay. While some mentioned they prefer downtown, I just couldn’t expect that the daily cab fare both ways, and perhaps the extra cost of a downtown hotel, would be worth it. I really don’t know the first thing about North Carolina, or Charlotte, so it’s quite possible that I am very, very wrong.

That said, if anyone reading this is staying near the venue and wants to venture downtown for a meal, perhaps with others, then feel free speak up. Spitting the cab fare up a time or two would definitely be worth it, especially to discuss PowerShell over dinner. That is just something I cannot do with my wife and children. At least not often, and not for long—trust me, I’ve tried.

I’d be willing to discuss PowerShell over a meal closer to the venue, too. I’ve never eaten at a Ruby Tuesday, but that’s the closest food to my hotel. I added the link for me, but feel free to look at all the incredible food coming my way. Honestly, until today, I thought Ruby Tuesday was a buffet for retirees and grandparents, but some of that food looks surprisingly appetizing. The place looks much more appealing than I had assumed, too.

Moving on. Long before I knew I’d be attending the summit, PowerShell.org mentioned a program called Verified Effective. While the cost to take the test had always been mildly prohibitive, I was ecstatic to discover that the cost of the summit included this opportunity. Well, up until the program was cancelled really close after the time when I registered. My emotions were really being played with, even more so when I found out it was back on, although I was excited again. The difference was that the test would have to be taken in person (not remotely), and at the summit. I seriously may have been the first person to click and register on the Eventbrite URL that came via email. Based on opening the exam up to approximately 60 people, it appears that as of today, a touch more than half of the Verified Effective registrations have been claimed. I’m nervous, but looking forward to this opportunity.

I recently decided to read Don Jones’ and Jeffery Hicks’ Month of Lunches PowerShell books (book one & book two). I’ve finished the first one and a little over half way to complete the second title. I’d like to get these signed by their authors, but simply couldn’t do that without reading the books first. While I already know most of what I’ve read thus far, it has been a beneficial and comprehensive review. I long worried that in my learning, which was never front to back in any PowerShell book, that I may have missed something here and there. I had, and I’ve been filling in those little holes nicely since January. I would, without question, recommended these two titles to anyone that wants to learn PowerShell. They would’ve been a great way to learn, had I started with them first. Just find the money, buy them, learn it, and thank the three of us later—more so to them, of course.

I’ll stop here for now, but will be back with more summit ramblings as I find time and topics to cover. This really is going to be an amazing event. I’ll be up close and personal to people that think like I do, and that love automation and PowerShell. This occasion is going to bring together all the rock stars and celebrities of the PowerShell community. If you don’t hear more from me before my flight in April, then you can at least expect I’ll be writing on April 19th from the sky, somewhere between Arizona and North Carolina.