Category Archives: PowerShell

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

Set-EnvVariable

Hey guys, this is just a quick post to cover a new function I posted up on technet http://gallery.technet.microsoft.com/Set-Environment-Variable-0e7492a3 There are a couple neat features in this function. Not in the functionality per se, I’m sure setting an environment variable … Continue reading

Posted in PowerShell | Leave a comment

Teamwork in PowerShell – ScriptingGames Follow up

Hello everyone, Today I want to write one of the articles I promised I’d do as a follow up to the scripting games. The tasks this time around were a lot harder than I had anticipated when I signed up. … Continue reading

Posted in PowerShell | Tagged , | Leave a comment

2014 Winter Scripting Games

Hey guys, Just a quick note to anyone who reads my blog but doesn’t pay attention to PowerShell.org, looking at you Mom… We won!  The Kitton Mittons’ took first place!  That’s great news for me personally, but it’s also great … Continue reading

Posted in PowerShell | Tagged , | 1 Comment

Working with XML

Hello again, Today I want to talk about working with XML in PowerShell. I won’t go into too much detail here as the topic is really well covered in a bunch of places: http://www.codeproject.com/Articles/61900/PowerShell-and-XML http://powershell.com/cs/blogs/tobias/archive/2009/02/02/xml-part-2-write-add-and-change-xml-data.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2011/02/17/use-powershell-to-simplify-working-with-xml-data.aspx These articles are all … Continue reading

Posted in PowerShell | Tagged , , | Leave a comment