Differences

This shows you the differences between the selected revisions of the page.

2014-12-23 2014-12-23
param is a keyword (martin) loading anchor (martin)
Line 38: Line 38:
Though there are some less known techniques and peculiarities that you may need to use, which are described in following sections. Though there are some less known techniques and peculiarities that you may need to use, which are described in following sections.
-==== Loading Assembly ====+==== [[loading]] Loading Assembly ====
PowerShell script needs to load the assembly before it can use classes the assembly exposes. To load assembly use ''[[http://technet.microsoft.com/en-us/library/hh849914.aspx|Add-Type]]'' cmdlet.((In PowerShell 1.0, use ''[[msdn>System.Reflection.Assembly.LoadFrom]]'' method.)) PowerShell script needs to load the assembly before it can use classes the assembly exposes. To load assembly use ''[[http://technet.microsoft.com/en-us/library/hh849914.aspx|Add-Type]]'' cmdlet.((In PowerShell 1.0, use ''[[msdn>System.Reflection.Assembly.LoadFrom]]'' method.))

Last modified: by martin