(Cross-post from Stackoverflow)

For reasons of script portability, I need to dynamically load snap-ins in a PowerShell script (ie. I don't want to actually install it). This is easily accomplished in PowerShell v2 with the Load-Module function. I need to run this particular script on a machine where I, for various reasons, do not want to install PowerShell v2, but have v1.

Is there a Load-Module equivalent in PowerShell v1?

link|improve this question

40% accept rate
feedback

1 Answer

You can use import-module

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.