Steven Murawski

This user hasn't shared any biographical information

Homepage: http://www.usepowershell.com

Jabber/GTalk: steven.murawski@gmail.com


Posts by Steven Murawski

PowerShell V3 – Default Parameter Values

January 6, 2012 - 10:45 am

Posted in PowerShell, PowerShell Version 3, PowerShell Version 3 CTP 1, PowerShell Version 3 CTP 2 | 1 comment

PowerShell Version 3 introduces the concept of Default Parameter Values. This allows you to specify a value for one or more parameters for one or more commands. To implement this, you need to populate a new hashtable – $PSDefaultParameterValues That Description is Not Helpful Let’s look at some examples – First off, we can specify [...]

When Import-Module Does Not

January 6, 2012 - 9:34 am

Posted in PowerShell Version 2, PowerShell Version 3, PowerShell Version 3 CTP 1, PowerShell Version 3 CTP 2 | 1 comment

A question came up about the behavior of Import-Module (in the context of this interesting discussion of whether module authors should provide aliases), especially with Version 3 and the auto-loading of modules (what’s that?). So What’s the Question? Does the auto-loading of modules in PowerShell Version 3 use Import-Module behind the scenes?  If it does, [...]

PowerShell V3 – Auto-loading of Modules

January 6, 2012 - 9:32 am

Posted in PowerShell, PowerShell Version 3, PowerShell Version 3 CTP 1, PowerShell Version 3 CTP 2 | 4 comments

PowerShell V3 includes a new “feature” – Auto-loading of modules. What Does It Do? Module discovery has been updated to make the exported commands for modules that are not loaded visible in a PowerShell session. In Version 2, if you run Get-Module on a module that is not loaded but in your PSModulePath, you’ll get [...]

Starting 2012 with a Bang

January 3, 2012 - 9:30 am

Posted in General | 1 comment

I’m so excited for 2012, personally and professionally.  I started the year with a great honor, I was awarded a Microsoft MVP award for PowerShell. Just a bit of background…  I started in IT in 2006 as the IT guy for a municipal police department.  It was the first such full time position the department [...]