Author Archives: rjasonmorgan

Creating Service Manager Incidents

Hello, just wanted to share a quick post on creating incidents in Service Manager 2012R2. I created a custom incident class for my new monitoring device, SevOne.PAS.Workitem.Incident, which extended the existing incident class but I was totally unable to create … Continue reading

Posted in Uncategorized | Leave a comment

Pester: Unit Testing for PowerShell

Originally posted on Johan Leino:
Pester is a BDD inspired testing framework for PowerShell just like Jasmine is on the JavaScript side and RSpec is on the Ruby side for example (I do believe that JavaScript is one of the…

Posted in Uncategorized | Leave a comment

When to write a module and why you should write tests.

Today I’m talking about something a little broader than usual.  I’ve started trying to get comfortable with Pester, which is a framework for writing tests in PowerShell.  The first thing I’ve figured out with Pester is that I’m really not … Continue reading

Posted in Uncategorized | 4 Comments

Denver PowerShell User Group

Hey guys,  The Denver PowerShell user group will be meeting again on Sept 4th.  If you’re interested in coming please sign up on Meetup:  Denver PowerShellers

Posted in Uncategorized | Leave a comment

Strings and Scriptblocks

Hello again, This will be another short article. I ran into an issue this week where I was trying to cast a string to a scriptblock and it absolutely wouldn’t work.  Looks like this is covered in a bunch of … Continue reading

Posted in PowerShell | Tagged , | Leave a comment

Create a Credential Object

Hello again, Today I’m writing about something fairly simple that is covered in a lot of places.  I find myself searching for this every month or so so I figured I’d put it in my blog so I remember where … Continue reading

Posted in PowerShell | Leave a comment

Where and why to use Write-Debug

Hello again! I wanted to write an article on write an article on write-debug for awhile so here it is. Just to start, you can get more info on the cmdlet here: http://technet.microsoft.com/en-us/library/hh849969.aspx or by typing get-help write-debug -full When … Continue reading

Posted in PowerShell | Tagged , , , , | Leave a comment